diff options
Diffstat (limited to 'vendor/librune/lib/utf8/u8chk.c')
-rw-r--r-- | vendor/librune/lib/utf8/u8chk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/librune/lib/utf8/u8chk.c b/vendor/librune/lib/utf8/u8chk.c index 9a2cf03..422bbd8 100644 --- a/vendor/librune/lib/utf8/u8chk.c +++ b/vendor/librune/lib/utf8/u8chk.c @@ -12,7 +12,7 @@ u8chk(const char8_t *s, size_t n) if (ch == RUNE_ERROR) return s; - n += m; + n -= m; } return nullptr; |