summaryrefslogtreecommitdiff
path: root/string-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'string-table.c')
-rw-r--r--string-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string-table.c b/string-table.c
index 7e01412d..fc9d51ee 100644
--- a/string-table.c
+++ b/string-table.c
@@ -101,7 +101,7 @@ void table_dump(struct string_table *tab)
continue;
len = strlen(tab->cells[idx]) - 1;
- if (len < 1 || tab->cells[idx][0] == '*')
+ if (len == 0 || tab->cells[idx][0] == '*')
continue;
if (len > sizes[i])