aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index ab48077dc20..05efd6908d8 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -678,7 +678,8 @@ echo_char (c)
678 678
679 if (INTEGERP (c)) 679 if (INTEGERP (c))
680 { 680 {
681 if (ptr - current_kboard->echobuf > ECHOBUFSIZE - 6) 681 if (ptr - current_kboard->echobuf
682 > ECHOBUFSIZE - KEY_DESCRIPTION_SIZE)
682 return; 683 return;
683 684
684 ptr = push_key_description (XINT (c), ptr); 685 ptr = push_key_description (XINT (c), ptr);