diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32term.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 02211b271ff..d70fd85fb89 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-01-01 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c (w32_text_out): Use s->font, for consistency with | ||
| 4 | callers. | ||
| 5 | |||
| 1 | 2003-12-30 Luc Teirlinck <teirllm@auburn.edu> | 6 | 2003-12-30 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 7 | ||
| 3 | * print.c (Ferror_message_string): Add hyperlink in the docstring | 8 | * print.c (Ferror_message_string): Add hyperlink in the docstring |
diff --git a/src/w32term.c b/src/w32term.c index d7248499c22..ac4e998fed9 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1121,9 +1121,9 @@ w32_text_out (s, x, y,chars,nchars) | |||
| 1121 | wchar_t * chars; | 1121 | wchar_t * chars; |
| 1122 | int nchars; | 1122 | int nchars; |
| 1123 | { | 1123 | { |
| 1124 | int charset_dim = w32_font_is_double_byte (s->gc->font) ? 2 : 1; | 1124 | int charset_dim = w32_font_is_double_byte (s->font) ? 2 : 1; |
| 1125 | if (s->gc->font->bdf) | 1125 | if (s->font->bdf) |
| 1126 | w32_BDF_TextOut (s->gc->font->bdf, s->hdc, | 1126 | w32_BDF_TextOut (s->font->bdf, s->hdc, |
| 1127 | x, y, (char *) chars, charset_dim, | 1127 | x, y, (char *) chars, charset_dim, |
| 1128 | nchars * charset_dim, 0); | 1128 | nchars * charset_dim, 0); |
| 1129 | else if (s->first_glyph->font_type == UNICODE_FONT) | 1129 | else if (s->first_glyph->font_type == UNICODE_FONT) |