diff options
| author | Jason Rumney | 2008-02-25 08:35:40 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-02-25 08:35:40 +0000 |
| commit | 8501c48b40f7f41e29b551fdad04c5173d353c82 (patch) | |
| tree | f3d0b34121fb9457b02881c64db89d1943cf3d18 /src | |
| parent | 26a42dac08a51b4618cd841df8c01f025aa749f5 (diff) | |
| download | emacs-8501c48b40f7f41e29b551fdad04c5173d353c82.tar.gz emacs-8501c48b40f7f41e29b551fdad04c5173d353c82.zip | |
(w32font_draw): Draw one character at a time when padding.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32font.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 493 | 493 | ||
| 494 | for (i = 0; i < len; i++) | 494 | for (i = 0; i < len; i++) |
| 495 | ExtTextOutW (s->hdc, x + i, y, options, NULL, | 495 | ExtTextOutW (s->hdc, x + i, y, options, NULL, |
| 496 | s->char2b + from + i, len, NULL); | 496 | s->char2b + from + i, 1, NULL); |
| 497 | } | 497 | } |
| 498 | else | 498 | else |
| 499 | ExtTextOutW (s->hdc, x, y, options, NULL, s->char2b + from, to - from, NULL); | 499 | ExtTextOutW (s->hdc, x, y, options, NULL, s->char2b + from, to - from, NULL); |