changeset 99561:3ff54631d8b3

(x_draw_glyph_string): For stretch glyphs, don't call x_draw_glyph_string_background.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 15 Nov 2008 05:33:07 +0000
parents 2309359f1f1f
children 23cb44684f99
files src/w32term.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Sat Nov 15 05:32:55 2008 +0000
+++ b/src/w32term.c	Sat Nov 15 05:33:07 2008 +0000
@@ -2248,7 +2248,10 @@
           {
             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;
           }
     }