diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-25 17:32:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-06-02 18:13:51 +0000 |
| commit | 3453f091a3349e6a977d69e07c1be6d3fe39c939 (patch) | |
| tree | 1c607c84a0a19f39bd08ca77c7363c29cec0d1c8 /grid.c | |
| parent | grid: set tp/uri break flags explicitly when we know them to be true (diff) | |
grid: fix col max calculation when row contains URI ranges
Diffstat (limited to 'grid.c')
| -rw-r--r-- | grid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
