From d6a1be6453b2d05eb133a485bea9c9304cf5aa99 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 25 Apr 1998 23:08:24 +0000 Subject: [PATCH] (x_display_cursor): Use FRAME_CURSOR_X_LIMIT. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { BLOCK_INPUT; - if ((unsigned) x >= FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f) + if ((unsigned) x >= FRAME_CURSOR_X_LIMIT (f) || (unsigned) y >= FRAME_HEIGHT (f)) abort (); -- 2.39.2