diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/gunicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/gunicode.c b/src/basic/gunicode.c index 542110503f..e6ac0545a4 100644 --- a/src/basic/gunicode.c +++ b/src/basic/gunicode.c @@ -26,7 +26,7 @@ char * utf8_prev_char (const char *p) { - while (1) + for (;;) { p--; if ((*p & 0xc0) != 0x80) |