From ee83cd1274773e7d6ad04800c2717c2fa7441ce2 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 26 Jan 2024 19:34:52 +0100 Subject: Bump librune --- vendor/librune/lib/utf8/u8chk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/librune/lib') 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; -- cgit v1.2.3