diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 5 | ||||
| -rw-r--r-- | src/xterm.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c index 69ebaf554f0..c9960420597 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -2248,7 +2248,10 @@ x_draw_glyph_string (s) | |||
| 2248 | { | 2248 | { |
| 2249 | x_set_glyph_string_gc (next); | 2249 | x_set_glyph_string_gc (next); |
| 2250 | x_set_glyph_string_clipping (next); | 2250 | x_set_glyph_string_clipping (next); |
| 2251 | x_draw_glyph_string_background (next, 1); | 2251 | if (next->first_glyph->type == STRETCH_GLYPH) |
| 2252 | x_draw_stretch_glyph_string (next); | ||
| 2253 | else | ||
| 2254 | x_draw_glyph_string_background (next, 1); | ||
| 2252 | next->num_clips = 0; | 2255 | next->num_clips = 0; |
| 2253 | } | 2256 | } |
| 2254 | } | 2257 | } |
diff --git a/src/xterm.c b/src/xterm.c index 7f0c0b5aba2..4d74910fec7 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2660,7 +2660,10 @@ x_draw_glyph_string (s) | |||
| 2660 | { | 2660 | { |
| 2661 | x_set_glyph_string_gc (next); | 2661 | x_set_glyph_string_gc (next); |
| 2662 | x_set_glyph_string_clipping (next); | 2662 | x_set_glyph_string_clipping (next); |
| 2663 | x_draw_glyph_string_background (next, 1); | 2663 | if (next->first_glyph->type == STRETCH_GLYPH) |
| 2664 | x_draw_stretch_glyph_string (next); | ||
| 2665 | else | ||
| 2666 | x_draw_glyph_string_background (next, 1); | ||
| 2664 | next->num_clips = 0; | 2667 | next->num_clips = 0; |
| 2665 | } | 2668 | } |
| 2666 | } | 2669 | } |