changeset 53469:112be2022ce0

(w32_text_out): Use s->font, for consistency with callers.
author Jason Rumney <jasonr@gnu.org>
date Thu, 01 Jan 2004 22:51:02 +0000
parents f641b341c5ec
children 512e5175475c
files src/w32term.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Thu Jan 01 14:09:01 2004 +0000
+++ b/src/w32term.c	Thu Jan 01 22:51:02 2004 +0000
@@ -1121,9 +1121,9 @@
      wchar_t * chars;
      int nchars;
 {
-  int charset_dim = w32_font_is_double_byte (s->gc->font) ? 2 : 1;
-  if (s->gc->font->bdf)
-    w32_BDF_TextOut (s->gc->font->bdf, s->hdc,
+  int charset_dim = w32_font_is_double_byte (s->font) ? 2 : 1;
+  if (s->font->bdf)
+    w32_BDF_TextOut (s->font->bdf, s->hdc,
                      x, y, (char *) chars, charset_dim,
                      nchars * charset_dim, 0);
   else if (s->first_glyph->font_type == UNICODE_FONT)