diff options
| author | Chong Yidong | 2008-11-15 05:33:17 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-11-15 05:33:17 +0000 |
| commit | 85bdc6d29e19aa1b155de0361286ec7593b8693f (patch) | |
| tree | 492fc011f48dcb8d4a4e76666b365ed05f6ca501 /src/xterm.c | |
| parent | fb098a4b61ffcca848a3795139cf54e53306b66b (diff) | |
| download | emacs-85bdc6d29e19aa1b155de0361286ec7593b8693f.tar.gz emacs-85bdc6d29e19aa1b155de0361286ec7593b8693f.zip | |
(x_draw_glyph_string): For stretch glyphs, don't call
x_draw_glyph_string_background.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 | } |