diff options
| author | Jason Rumney | 2001-11-17 18:09:27 +0000 |
|---|---|---|
| committer | Jason Rumney | 2001-11-17 18:09:27 +0000 |
| commit | 9f0de4e301eb518291ae040a7f71af5e2b3f6c90 (patch) | |
| tree | b36154e2efd13c0f7fbade158284f246df5490be /src | |
| parent | 6b5f6311986e1a7e8c83734deacbdfe4a708be8f (diff) | |
| download | emacs-9f0de4e301eb518291ae040a7f71af5e2b3f6c90.tar.gz emacs-9f0de4e301eb518291ae040a7f71af5e2b3f6c90.zip | |
(notice_overwritten_cursor): Take care of end < 0 case.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index fd4654532e3..4e82a8092d4 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -11107,7 +11107,7 @@ notice_overwritten_cursor (w, start_x, end_x) | |||
| 11107 | && w->phys_cursor_on_p | 11107 | && w->phys_cursor_on_p |
| 11108 | && output_cursor.vpos == w->phys_cursor.vpos | 11108 | && output_cursor.vpos == w->phys_cursor.vpos |
| 11109 | && start_x <= w->phys_cursor.x | 11109 | && start_x <= w->phys_cursor.x |
| 11110 | && end_x > w->phys_cursor.x) | 11110 | && (end_x < 0 || end_x > w->phys_cursor.x)) |
| 11111 | w->phys_cursor_on_p = 0; | 11111 | w->phys_cursor_on_p = 0; |
| 11112 | } | 11112 | } |
| 11113 | 11113 | ||