summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-11-15 05:33:17 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-11-15 05:33:17 +0000
commit85bdc6d29e19aa1b155de0361286ec7593b8693f (patch)
tree492fc011f48dcb8d4a4e76666b365ed05f6ca501 /src/w32term.c
parentfb098a4b61ffcca848a3795139cf54e53306b66b (diff)
downloademacs-85bdc6d29e19aa1b155de0361286ec7593b8693f.tar.gz
(x_draw_glyph_string): For stretch glyphs, don't call
x_draw_glyph_string_background.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c5
1 files changed, 4 insertions, 1 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)
{
x_set_glyph_string_gc (next);
x_set_glyph_string_clipping (next);
- x_draw_glyph_string_background (next, 1);
+ if (next->first_glyph->type == STRETCH_GLYPH)
+ x_draw_stretch_glyph_string (next);
+ else
+ x_draw_glyph_string_background (next, 1);
next->num_clips = 0;
}
}