Commit fa0ae4cf authored by Chong Yidong's avatar Chong Yidong
Browse files

(try_window_id): Increment matrix positions if the buffer's byte count

has increased, but not the character count.
parent e338790f
...@@ -14898,7 +14898,7 @@ try_window_id (w) ...@@ -14898,7 +14898,7 @@ try_window_id (w)
sync_frame_with_window_matrix_rows (w); sync_frame_with_window_matrix_rows (w);
/* Adjust buffer positions in reused rows. */ /* Adjust buffer positions in reused rows. */
if (delta) if (delta || delta_bytes)
increment_matrix_positions (current_matrix, increment_matrix_positions (current_matrix,
first_unchanged_at_end_vpos + dvpos, first_unchanged_at_end_vpos + dvpos,
bottom_vpos, delta, delta_bytes); bottom_vpos, delta, delta_bytes);
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