mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
grid: fix col max calculation when row contains URI ranges
This commit is contained in:
parent
a56b54ad2f
commit
3453f091a3
1 changed files with 1 additions and 1 deletions
2
grid.c
2
grid.c
|
|
@ -542,7 +542,7 @@ grid_resize_and_reflow(
|
|||
if (tp != NULL)
|
||||
col_count = max(col_count, tp->col + 1);
|
||||
if (range != NULL)
|
||||
col_count = max(col_count, range->start + 1);
|
||||
col_count = max(col_count, range->end + 1);
|
||||
|
||||
for (int start = 0, left = col_count; left > 0;) {
|
||||
int tp_col = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue