Commit 46888499 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

xdisp.c (try_window_reusing_current_matrix): Fix incorrect computation of loop end.

 src/xdisp.c (try_window_reusing_current_matrix): Fix incorrect
 computation of loop end.  Reported by Johan Bockgård <bojohan@gnu.org>.
parent 4d61f28d
2011-09-14 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (try_window_reusing_current_matrix): Fix incorrect
computation of loop end. Reported by Johan Bockgård
<bojohan@gnu.org>.
2011-09-13 Chong Yidong <cyd@stupidchicken.com> 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
* frame.c (Fother_visible_frames_p): Function deleted. * frame.c (Fother_visible_frames_p): Function deleted.
......
...@@ -16077,7 +16077,7 @@ try_window_reusing_current_matrix (struct window *w) ...@@ -16077,7 +16077,7 @@ try_window_reusing_current_matrix (struct window *w)
if (row < bottom_row) if (row < bottom_row)
{ {
struct glyph *glyph = row->glyphs[TEXT_AREA] + w->cursor.hpos; struct glyph *glyph = row->glyphs[TEXT_AREA] + w->cursor.hpos;
struct glyph *end = glyph + row->used[TEXT_AREA]; struct glyph *end = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA];
   
/* Can't use this optimization with bidi-reordered glyph /* Can't use this optimization with bidi-reordered glyph
rows, unless cursor is already at point. */ rows, unless cursor is already at point. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment