# HG changeset patch # User Chong Yidong # Date 1226727197 0 # Node ID 23cb44684f99df589bcafe87b79dfba4b84ea54a # Parent 3ff54631d8b335f6133ee5c2c5ab93158c90ac87 (x_draw_glyph_string): For stretch glyphs, don't call x_draw_glyph_string_background. diff -r 3ff54631d8b3 -r 23cb44684f99 src/xterm.c --- 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; } }