diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-26 19:34:52 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-26 19:34:52 +0100 |
commit | ee83cd1274773e7d6ad04800c2717c2fa7441ce2 (patch) | |
tree | 264fc187d1d6b95b0d871d7d364aa6be18c69fc7 /vendor | |
parent | 32d148c8b6f2a68d3bd4d47a0353c7ced009292f (diff) |
Bump librune
Diffstat (limited to 'vendor')
-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; |