diff options
Diffstat (limited to 'src/List.c')
-rw-r--r-- | src/List.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -359,7 +359,6 @@ static void CalculatedValues(Widget w) { ListWidget lw = (ListWidget)w; - int i; /* If list is NULL then the list will just be the name of the widget */ if (lw->list.list == NULL) { @@ -374,6 +373,8 @@ CalculatedValues(Widget w) /* Get column width */ if (LongestFree(lw)) { + int i; + lw->list.longest = 0; /* so it will accumulate real longest below */ for (i = 0 ; i < lw->list.nitems; i++) { |