diff options
Diffstat (limited to 'regenc.c')
-rw-r--r-- | regenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -123,7 +123,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, end); n++; @@ -137,7 +137,7 @@ onigenc_strlen_null(OnigEncoding enc, const UChar* s) int n = 0; UChar* p = (UChar* )s; UChar* e = p + strlen((const char *)s); - + while (1) { if (*p == '\0') { UChar* q; |