aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-05-10 12:40:21 +0000
committerGerd Moellmann2001-05-10 12:40:21 +0000
commite60f45278bd1479894f5842f23a5c3db44aa94f5 (patch)
tree8fdcfce7c5ef5be943583d8f19d6f8bd8729f20c /src
parent23fca89114fcb4088e164fee3d94750651ebb947 (diff)
downloademacs-e60f45278bd1479894f5842f23a5c3db44aa94f5.tar.gz
emacs-e60f45278bd1479894f5842f23a5c3db44aa94f5.zip
(try_window_id): Fix case of all changes before
the window start.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index f9b9cb3c9ab..82c5dbc54d5 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11179,9 +11179,9 @@ try_window_id (w)
11179 be adjusted, of course. */ 11179 be adjusted, of course. */
11180 row = MATRIX_ROW (w->current_matrix, XFASTINT (w->window_end_vpos)); 11180 row = MATRIX_ROW (w->current_matrix, XFASTINT (w->window_end_vpos));
11181 if (MATRIX_ROW_DISPLAYS_TEXT_P (row) 11181 if (MATRIX_ROW_DISPLAYS_TEXT_P (row)
11182 && ((first_changed_charpos < CHARPOS (start) 11182 && ((last_changed_charpos < CHARPOS (start)
11183 && CHARPOS (start) == BEGV) 11183 && CHARPOS (start) == BEGV)
11184 || (first_changed_charpos < CHARPOS (start) - 1 11184 || (last_changed_charpos < CHARPOS (start) - 1
11185 && FETCH_BYTE (BYTEPOS (start) - 1) == '\n'))) 11185 && FETCH_BYTE (BYTEPOS (start) - 1) == '\n')))
11186 { 11186 {
11187 int Z_old, delta, Z_BYTE_old, delta_bytes; 11187 int Z_old, delta, Z_BYTE_old, delta_bytes;