emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105762: xdisp.c (try_window_reusing_


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105762: xdisp.c (try_window_reusing_current_matrix): Fix incorrect computation of loop end.
Date: Wed, 14 Sep 2011 01:20:23 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105762
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Wed 2011-09-14 01:20:23 -0400
message:
  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 <address@hidden>.
modified:
  src/ChangeLog
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-09-13 15:33:16 +0000
+++ b/src/ChangeLog     2011-09-14 05:20:23 +0000
@@ -1,3 +1,9 @@
+2011-09-14  Eli Zaretskii  <address@hidden>
+
+       * xdisp.c (try_window_reusing_current_matrix): Fix incorrect
+       computation of loop end.  Reported by Johan Bockgård
+       <address@hidden>.
+
 2011-09-13  Chong Yidong  <address@hidden>
 
        * frame.c (Fother_visible_frames_p): Function deleted.

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2011-09-11 17:40:53 +0000
+++ b/src/xdisp.c       2011-09-14 05:20:23 +0000
@@ -16077,7 +16077,7 @@
          if (row < bottom_row)
            {
              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
                 rows, unless cursor is already at point. */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]