Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2d0ffc9a
Commit
2d0ffc9a
authored
Nov 18, 1999
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(echo_char): Use KEY_DESCRIPTION_SIZE to check free
memory for push_key_description.
parent
b0ca4f56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/keyboard.c
src/keyboard.c
+2
-1
No files found.
src/keyboard.c
View file @
2d0ffc9a
...
...
@@ -678,7 +678,8 @@ echo_char (c)
if (INTEGERP (c))
{
if (ptr - current_kboard->echobuf > ECHOBUFSIZE - 6)
if (ptr - current_kboard->echobuf
> ECHOBUFSIZE - KEY_DESCRIPTION_SIZE)
return;
ptr = push_key_description (XINT (c), ptr);
...
...
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