aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2004-01-01 22:51:46 +0000
committerJason Rumney2004-01-01 22:51:46 +0000
commit68c6a789cccd8d7e2dacf7258520a8bddc3c0a30 (patch)
tree8f7814e2141f5ed83b06e885542823837800249c /src
parenta3cb3b2eafb528390459892e580cbf9e601475ea (diff)
downloademacs-68c6a789cccd8d7e2dacf7258520a8bddc3c0a30.tar.gz
emacs-68c6a789cccd8d7e2dacf7258520a8bddc3c0a30.zip
(w32_text_out): Use s->font, for consistency with callers.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32term.c6
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 @@
12004-01-01 Jason Rumney <jasonr@gnu.org>
2
3 * w32term.c (w32_text_out): Use s->font, for consistency with
4 callers.
5
12003-12-30 Luc Teirlinck <teirllm@auburn.edu> 62003-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)