diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 19:33:27 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 19:33:27 +0000 |
| commit | 45ba9f9c8f3b38e20092d97ee6a34f7bc27e0198 (patch) | |
| tree | a5ec0af7046e15eb457a7382dc7f5ce6807597d9 /grid.c | |
| parent | term: visual_focus_in/out: redraw CSDs (diff) | |
grid: grid_reflow(): may be called with old_rows/cols == new_rows/cols
TODO: avoid calling grid_reflow() in this case.
Diffstat (limited to 'grid.c')
| -rw-r--r-- | grid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ grid_reflow(struct grid *grid, int new_rows, int new_cols, const int old_rows = grid->num_rows; const int old_cols = grid->num_cols; - assert(old_rows != new_rows || old_cols != new_cols); + //assert(old_rows != new_rows || old_cols != new_cols); int new_col_idx = 0; int new_row_idx = 0; |
