aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/linestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/linestack.c b/lib/linestack.c
index fb6cc1e4..0fc83e6b 100644
--- a/lib/linestack.c
+++ b/lib/linestack.c
@@ -125,7 +125,7 @@ int crunch_str(char **str, int width, FILE *out, char *escmore,
// standard escapes: ^X if <32, <XX> if invalid UTF8, U+XXXX if UTF8 !iswprint()
int crunch_escape(FILE *out, int cols, int wc)
{
- char buf[8];
+ char buf[11];
int rc;
if (wc<' ') rc = sprintf(buf, "^%c", '@'+wc);