changeset 92199:8324a41d50a9

(w32font_draw): Draw one character at a time when padding.
author Jason Rumney <jasonr@gnu.org>
date Mon, 25 Feb 2008 08:35:40 +0000
parents 6a56f830d80b
children e876aa43d9c5
files src/w32font.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32font.c	Mon Feb 25 08:17:18 2008 +0000
+++ b/src/w32font.c	Mon Feb 25 08:35:40 2008 +0000
@@ -493,7 +493,7 @@
 
       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);