aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-26 19:34:52 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-26 19:34:52 +0100
commitee83cd1274773e7d6ad04800c2717c2fa7441ce2 (patch)
tree264fc187d1d6b95b0d871d7d364aa6be18c69fc7
parent32d148c8b6f2a68d3bd4d47a0353c7ced009292f (diff)
Bump librune
-rw-r--r--vendor/librune/lib/utf8/u8chk.c2
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;