diff src/xterm.c @ 99562:23cb44684f99

(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:17 +0000
parents 651ff4b959b3
children 7b445d510cbe
line wrap: on
line diff
--- a/src/xterm.c	Sat Nov 15 05:33:07 2008 +0000
+++ b/src/xterm.c	Sat Nov 15 05:33:17 2008 +0000
@@ -2660,7 +2660,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;
 	  }
     }