diff options
Diffstat (limited to '')
-rw-r--r-- | table.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -428,8 +428,9 @@ visible_length(char *str) Str tagbuf = Strnew(); char *t, *r2; int amp_len = 0; + char *strz = str + strlen(str); - while (*str) { + while (str < strz) { prev_status = status; if (next_status(*str, &status)) { #ifdef USE_M17N |