diff options
Diffstat (limited to 'jimregexp.c')
-rw-r--r-- | jimregexp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jimregexp.c b/jimregexp.c index e904db8..2f57caf 100644 --- a/jimregexp.c +++ b/jimregexp.c @@ -1132,7 +1132,10 @@ nextline: if (*s == '\0') { break; } - s += utf8_charlen(*s); + else { + int c; + s += utf8_tounicode(s, &c); + } } /* Failure. */ |