| File src/column_view.c changed (mode: 100644) (index 3bf93924a..b5b835ed6) |
| ... |
... |
update_abs_and_rel_widths(columns_t cols, size_t *max_width) |
| 539 |
539 |
if(auto_count == 0U && percent_count != 0U) |
if(auto_count == 0U && percent_count != 0U) |
| 540 |
540 |
{ |
{ |
| 541 |
541 |
int i; |
int i; |
| 542 |
|
for(i = cols->count; i >= 0; --i) |
|
|
542 |
|
for(i = cols->count - 1; i >= 0; --i) |
| 543 |
543 |
{ |
{ |
| 544 |
544 |
column_t *col = &cols->list[i]; |
column_t *col = &cols->list[i]; |
| 545 |
545 |
if(col->info.sizing == ST_PERCENT) |
if(col->info.sizing == ST_PERCENT) |