diff options
Diffstat (limited to 'src/utf8.c')
-rw-r--r-- | src/utf8.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -313,8 +313,9 @@ int utf8_width(char *s) return utf8_widthtab[cur].width; else low = cur + 1; - } else + } else { high = cur - 1; + } } while (low <= high); |