From: Jason Rumney Date: Mon, 25 Feb 2008 08:35:40 +0000 (+0000) Subject: (w32font_draw): Draw one character at a time when padding. X-Git-Tag: emacs-pretest-23.0.90~7676 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8501c48b40f7f41e29b551fdad04c5173d353c82;p=emacs.git (w32font_draw): Draw one character at a time when padding. --- diff --git a/src/w32font.c b/src/w32font.c index ff0f4d2c875..b781494e366 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -493,7 +493,7 @@ w32font_draw (s, from, to, x, y, with_background) for (i = 0; i < len; i++) ExtTextOutW (s->hdc, x + i, y, options, NULL, - s->char2b + from + i, len, NULL); + s->char2b + from + i, 1, NULL); } else ExtTextOutW (s->hdc, x, y, options, NULL, s->char2b + from, to - from, NULL);