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: