Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f7c5994d
Commit
f7c5994d
authored
Apr 24, 2002
by
Gerd Moellmann
Browse files
(notice_overwritten_cursor): Fix an off by 1 error.
parent
68310f2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/xterm.c
src/xterm.c
+1
-1
No files found.
src/ChangeLog
View file @
f7c5994d
2002-04-24 Gerd Moellmann <gerd@gnu.org>
* xterm.c (notice_overwritten_cursor): Fix an off by 1 error.
2002-04-23 Colin Walters <walters@verbum.org>
* buffer.c (syms_of_buffer): Doc fix.
...
...
src/xterm.c
View file @
f7c5994d
...
...
@@ -11249,7 +11249,7 @@ notice_overwritten_cursor (w, area, x0, x1, y0, y1)
exception of the cursor being in the first blank row at
the buffer and window end because update_text_area
doesn't draw that row. */
if (((y0 >= cy0 && y0 < cy1) || (y1 >
=
cy0 && y1 < cy1))
if (((y0 >= cy0 && y0 < cy1) || (y1 > cy0 && y1 < cy1))
&& w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p)
w->phys_cursor_on_p = 0;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment