diff options
Diffstat (limited to '')
-rw-r--r-- | table.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -510,9 +510,8 @@ int visible_length_plain(char *str) { int len = 0, max_len = 0; - char *strz = str + strlen(str); - while (str < strz) { + while (*str) { if (*str == '\t') { do { len++; |