so they don't get wider than the window, matching 2006-01-23
change to the partner function in xdisp.c (Bug#2800).
+2009-04-03 Chong Yidong <cyd@stupidchicken.com>
+
+ * term.c (produce_stretch_glyph): Reduce width of stretch glyphs
+ so they don't get wider than the window, matching 2006-01-23
+ change to the partner function in xdisp.c (Bug#2800).
+
2009-04-03 Kenichi Handa <handa@m17n.org>
* print.c (print_object): Make each lowest sub_char_table start a
if (width <= 0 && (width < 0 || !zero_width_ok_p))
width = 1;
+ if (width > 0 && it->line_wrap != TRUNCATE
+ && it->current_x + width > it->last_visible_x)
+ width = it->last_visible_x - it->current_x - 1;
+
if (width > 0 && it->glyph_row)
{
Lisp_Object o_object = it->object;