From 8501c48b40f7f41e29b551fdad04c5173d353c82 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Mon, 25 Feb 2008 08:35:40 +0000 Subject: [PATCH] (w32font_draw): Draw one character at a time when padding. --- src/w32font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5