diff options
Diffstat (limited to 'src/utf8.c')
-rw-r--r-- | src/utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -307,7 +307,7 @@ int utf8_width(char *s) } low = 0; - high = sizeof(utf8_widthtab) / sizeof(utf8_widthtab[0]); + high = ARRAY_SIZE(utf8_widthtab); do { cur = (low + high) / 2; if (val >= utf8_widthtab[cur].min) { |