diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 20:06:28 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 20:06:28 +0100 |
commit | f883fa5bd37b6420f5dc25027a68289c64028063 (patch) | |
tree | 80452d3b1840e553402538830e903ed9fecdb3a8 /src/regenc.c | |
parent | 66dfd6613394a8903701840bbc9d67de537e597e (diff) | |
parent | f1aff0cc17934fa45d9520dae6986562e033cb8f (diff) |
Merge branch 'release/debian/6.9.1-1'debian/6.9.1-1
Diffstat (limited to 'src/regenc.c')
-rw-r--r-- | src/regenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regenc.c b/src/regenc.c index 21f3536..d8f5274 100644 --- a/src/regenc.c +++ b/src/regenc.c @@ -231,7 +231,7 @@ onigenc_strlen(OnigEncoding enc, const UChar* p, const UChar* end) { int n = 0; UChar* q = (UChar* )p; - + while (q < end) { q += ONIGENC_MBC_ENC_LEN(enc, q); n++; @@ -244,7 +244,7 @@ onigenc_strlen_null(OnigEncoding enc, const UChar* s) { int n = 0; UChar* p = (UChar* )s; - + while (1) { if (*p == '\0') { UChar* q; |