]> code.delx.au - gnu-emacs/commitdiff
(w32_text_out): Use s->font, for consistency with callers.
authorJason Rumney <jasonr@gnu.org>
Thu, 1 Jan 2004 22:51:46 +0000 (22:51 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 1 Jan 2004 22:51:46 +0000 (22:51 +0000)
src/ChangeLog
src/w32term.c

index 02211b271ffdeecd38be59f07bff95a773090a0d..d70fd85fb89a10d334a5d6232af57d4ebf0ecf23 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-01  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (w32_text_out): Use s->font, for consistency with
+       callers.
+
 2003-12-30  Luc Teirlinck  <teirllm@auburn.edu>
 
        * print.c (Ferror_message_string): Add hyperlink in the docstring
index d7248499c220f13e3f0e68cd5adc04c748826992..ac4e998fed9dc45e06fa91edb662d062ac2fa8e0 100644 (file)
@@ -1121,9 +1121,9 @@ w32_text_out (s, x, y,chars,nchars)
      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)