From 5a6c97713cc261060f1a4b590337f5b823865de9 Mon Sep 17 00:00:00 2001 From: Xnoe Date: Sat, 25 Jul 2020 06:05:29 +0100 Subject: [PATCH] Fixed numerous horrific errors that were causing all sorts of problems. This is why you test your code, kids! --- utf8.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/utf8.h b/utf8.h index 17b2f33..659a195 100644 --- a/utf8.h +++ b/utf8.h @@ -192,7 +192,7 @@ struct string32 { return false; havematched--; - int si (i-tofind-1); + int si (i-tofind); int ei (0); for (;i