]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_window_id): Increment matrix positions if the buffer's byte count
authorChong Yidong <cyd@stupidchicken.com>
Sat, 17 Mar 2007 19:47:13 +0000 (19:47 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 17 Mar 2007 19:47:13 +0000 (19:47 +0000)
has increased, but not the character count.

src/xdisp.c

index 07762f5658253fa3962b1b7520def830228b67f6..544043f2747ec7a1f257720b89a6644923e63b28 100644 (file)
@@ -14898,7 +14898,7 @@ try_window_id (w)
     sync_frame_with_window_matrix_rows (w);
 
   /* Adjust buffer positions in reused rows.  */
-  if (delta)
+  if (delta || delta_bytes)
     increment_matrix_positions (current_matrix,
                                first_unchanged_at_end_vpos + dvpos,
                                bottom_vpos, delta, delta_bytes);