summaryrefslogtreecommitdiff
path: root/src/basic/escape.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/escape.c')
-rw-r--r--src/basic/escape.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/escape.c b/src/basic/escape.c
index dc302364e..98b4bdf18 100644
--- a/src/basic/escape.c
+++ b/src/basic/escape.c
@@ -18,6 +18,8 @@
int cescape_char(char c, char *buf) {
char *buf_old = buf;
+ /* Needs space for 4 characters in the buffer */
+
switch (c) {
case '\a':