changeset 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 3ff54631d8b3
children 6f5ee88b4758
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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;
 	  }
     }