Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
045226c7
Commit
045226c7
authored
Dec 21, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x_display_cursor): Abort if X or Y is out of range.
parent
47ab3db5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/xterm.c
src/xterm.c
+4
-0
No files found.
src/xterm.c
View file @
045226c7
...
...
@@ -4902,6 +4902,10 @@ x_display_cursor (f, on, x, y)
{
BLOCK_INPUT
;
if
((
unsigned
)
x
>=
FRAME_WIDTH
(
f
)
+
FRAME_LEFT_SCROLL_BAR_WIDTH
(
f
)
||
(
unsigned
)
y
>=
FRAME_HEIGHT
(
f
))
abort
();
if
(
FRAME_DESIRED_CURSOR
(
f
)
==
filled_box_cursor
)
x_display_box_cursor
(
f
,
on
,
x
,
y
);
else
if
(
FRAME_DESIRED_CURSOR
(
f
)
==
bar_cursor
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment