aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1d46d725fe9..aec85854ce6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4911,7 +4911,7 @@ x_display_cursor (f, on, x, y)
4911{ 4911{
4912 BLOCK_INPUT; 4912 BLOCK_INPUT;
4913 4913
4914 if ((unsigned) x >= FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f) 4914 if ((unsigned) x >= FRAME_CURSOR_X_LIMIT (f)
4915 || (unsigned) y >= FRAME_HEIGHT (f)) 4915 || (unsigned) y >= FRAME_HEIGHT (f))
4916 abort (); 4916 abort ();
4917 4917