aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/w32term.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b4a3e74c453..78afe35a8bb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-05-28 Jason Rumney <jasonr@gnu.org>
2
3 * w32term.c (x_draw_glyph_string): Use clipmask if specified.
4
12008-05-28 Stefan Monnier <monnier@iro.umontreal.ca> 52008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * fileio.c (Fwrite_region): Delay the defaulting to beg&z to after 7 * fileio.c (Fwrite_region): Delay the defaulting to beg&z to after
diff --git a/src/w32term.c b/src/w32term.c
index 0fbbf370fa2..a9bbbbe23fc 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -2830,8 +2830,10 @@ x_draw_glyph_string (s)
2830 x_set_glyph_string_clipping (s); 2830 x_set_glyph_string_clipping (s);
2831 relief_drawn_p = 1; 2831 relief_drawn_p = 1;
2832 } 2832 }
2833 else if ((s->prev && s->prev->hl != s->hl && s->left_overhang) 2833 else if (!s->clip_head /* draw_glyphs didn't specify a clip mask. */
2834 || (s->next && s->next->hl != s->hl && s->right_overhang)) 2834 && !s->clip_tail
2835 && ((s->prev && s->prev->hl != s->hl && s->left_overhang)
2836 || (s->next && s->next->hl != s->hl && s->right_overhang)))
2835 /* We must clip just this glyph. left_overhang part has already 2837 /* We must clip just this glyph. left_overhang part has already
2836 drawn when s->prev was drawn, and right_overhang part will be 2838 drawn when s->prev was drawn, and right_overhang part will be
2837 drawn later when s->next is drawn. */ 2839 drawn later when s->next is drawn. */