aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1998-04-25 23:08:24 +0000
committerRichard M. Stallman <[email protected]>1998-04-25 23:08:24 +0000
commitd6a1be6453b2d05eb133a485bea9c9304cf5aa99 (patch)
tree10c2262a810620644c8ee5cda96d367b883d6697 /src/xterm.c
parent868e640e903b0f10cea500655c6fd1db1e8fbebc (diff)
(x_display_cursor): Use FRAME_CURSOR_X_LIMIT.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1d46d725fe..aec85854ce 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 ();