Commit 9f0de4e3 authored by Jason Rumney's avatar Jason Rumney
Browse files

(notice_overwritten_cursor): Take care of end < 0 case.

parent 6b5f6311
...@@ -11107,7 +11107,7 @@ notice_overwritten_cursor (w, start_x, end_x) ...@@ -11107,7 +11107,7 @@ notice_overwritten_cursor (w, start_x, end_x)
&& w->phys_cursor_on_p && w->phys_cursor_on_p
&& output_cursor.vpos == w->phys_cursor.vpos && output_cursor.vpos == w->phys_cursor.vpos
&& start_x <= w->phys_cursor.x && start_x <= w->phys_cursor.x
&& end_x > w->phys_cursor.x) && (end_x < 0 || end_x > w->phys_cursor.x))
w->phys_cursor_on_p = 0; w->phys_cursor_on_p = 0;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment