[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/dispnew.c
From: |
Gerd Moellmann |
Subject: |
[Emacs-diffs] Changes to emacs/src/dispnew.c |
Date: |
Thu, 15 Nov 2001 05:29:35 -0500 |
Index: emacs/src/dispnew.c
diff -u emacs/src/dispnew.c:1.296 emacs/src/dispnew.c:1.297
--- emacs/src/dispnew.c:1.296 Tue Nov 13 19:04:38 2001
+++ emacs/src/dispnew.c Thu Nov 15 05:29:34 2001
@@ -3724,8 +3724,8 @@
row = MATRIX_ROW (w->current_matrix, w->cursor.vpos);
/* Give up if PT is outside of the last known cursor row. */
- if (PT <= MATRIX_ROW_START_BYTEPOS (row)
- || PT >= MATRIX_ROW_END_BYTEPOS (row))
+ if (PT <= MATRIX_ROW_START_CHARPOS (row)
+ || PT >= MATRIX_ROW_END_CHARPOS (row))
return 0;
set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0);