Commit 68c6a789 authored by Jason Rumney's avatar Jason Rumney

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

parent a3cb3b2e
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
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment