aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-03 17:30:23 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-03 17:30:23 -0500
commit9512eb74d2bb2511b50104b354488555fe846c58 (patch)
tree81bf487cf71028a8dc440b9884e0fdbd3307157b
parent94ab8c0ac62b8389bea61766455c1bbc6c34b692 (diff)
Bugfix
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index d384a477..20e16ad1 100644
--- a/compile.c
+++ b/compile.c
@@ -452,7 +452,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", c);
+ CORD_sprintf(&code, "%r\\x%02X", code, c);
break;
}
}