aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vt.c b/vt.c
index 41524857..aa61bcc9 100644
--- a/vt.c
+++ b/vt.c
@@ -581,7 +581,7 @@ esc_as_string(struct terminal *term, uint8_t final)
assert(term->vt.params.idx == 0);
- c += snprintf(&msg[c], sizeof(msg) - c, "%c", final);
+ snprintf(&msg[c], sizeof(msg) - c, "%c", final);
return msg;
}