Commit 8501c48b authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32font_draw): Draw one character at a time when padding.

parent 26a42dac
......@@ -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);
......
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