summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime/c/gu/utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/gu/utf8.c b/src/runtime/c/gu/utf8.c
index 2a77304a9..d0bd89b90 100644
--- a/src/runtime/c/gu/utf8.c
+++ b/src/runtime/c/gu/utf8.c
@@ -156,7 +156,7 @@ gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err)
if (!gu_ok(err)) {
return;
}
- *buf = p;
+ *buf = p+len;
return;
fail: