diff options
author | Jason Rumney <jasonr@gnu.org> | 2004-01-01 22:51:46 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2004-01-01 22:51:46 +0000 |
commit | 68c6a789cccd8d7e2dacf7258520a8bddc3c0a30 (patch) | |
tree | 8f7814e2141f5ed83b06e885542823837800249c /src/w32term.c | |
parent | a3cb3b2eafb528390459892e580cbf9e601475ea (diff) | |
download | emacs-68c6a789cccd8d7e2dacf7258520a8bddc3c0a30.tar.gz |
(w32_text_out): Use s->font, for consistency with callers.
Diffstat (limited to 'src/w32term.c')
-rw-r--r-- | src/w32term.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) 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) |