1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

(w32_text_out): Use s->font, for consistency with callers.

This commit is contained in:
Jason Rumney 2004-01-01 22:51:46 +00:00
parent a3cb3b2eaf
commit 68c6a789cc
2 changed files with 8 additions and 3 deletions

View 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

View 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)