diff options
| author | Gerd Moellmann | 2002-04-24 10:30:06 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2002-04-24 10:30:06 +0000 |
| commit | f7c5994deb832886c5bf808494335a0cb29ae84b (patch) | |
| tree | cd9d1233a44e23b4835c31b0a9993e432213724d /src | |
| parent | 68310f2a121dac224b0104c1526ad05ff0de3202 (diff) | |
| download | emacs-f7c5994deb832886c5bf808494335a0cb29ae84b.tar.gz emacs-f7c5994deb832886c5bf808494335a0cb29ae84b.zip | |
(notice_overwritten_cursor): Fix an off by 1 error.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xterm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3e77547a6fe..b5dabee3d81 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | ||
| 4 | |||
| 1 | 2002-04-23 Colin Walters <walters@verbum.org> | 5 | 2002-04-23 Colin Walters <walters@verbum.org> |
| 2 | 6 | ||
| 3 | * buffer.c (syms_of_buffer): Doc fix. | 7 | * buffer.c (syms_of_buffer): Doc fix. |
diff --git a/src/xterm.c b/src/xterm.c index d0a521d6e3c..5b4b211924e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -11249,7 +11249,7 @@ notice_overwritten_cursor (w, area, x0, x1, y0, y1) | |||
| 11249 | exception of the cursor being in the first blank row at | 11249 | exception of the cursor being in the first blank row at |
| 11250 | the buffer and window end because update_text_area | 11250 | the buffer and window end because update_text_area |
| 11251 | doesn't draw that row. */ | 11251 | doesn't draw that row. */ |
| 11252 | if (((y0 >= cy0 && y0 < cy1) || (y1 >= cy0 && y1 < cy1)) | 11252 | if (((y0 >= cy0 && y0 < cy1) || (y1 > cy0 && y1 < cy1)) |
| 11253 | && w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p) | 11253 | && w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p) |
| 11254 | w->phys_cursor_on_p = 0; | 11254 | w->phys_cursor_on_p = 0; |
| 11255 | } | 11255 | } |