aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index a4972b14..5c4cc592 100644
--- a/compile.c
+++ b/compile.c
@@ -1804,7 +1804,7 @@ CORD compile(env_t *env, ast_t *ast)
if (isprint(c))
code = CORD_cat_char(code, c);
else
- CORD_sprintf(&code, "%r\\x%02X", code, (uint8_t)c);
+ CORD_sprintf(&code, "%r\"\"\\x%02X\"\"", code, (uint8_t)c);
break;
}
}