From: Richard M. Stallman Date: Sat, 25 Apr 1998 23:08:24 +0000 (+0000) Subject: (x_display_cursor): Use FRAME_CURSOR_X_LIMIT. X-Git-Tag: emacs-20.3~1312 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6a1be6453b2d05eb133a485bea9c9304cf5aa99;p=emacs.git (x_display_cursor): Use FRAME_CURSOR_X_LIMIT. --- 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 ();