From 45ba9f9c8f3b38e20092d97ee6a34f7bc27e0198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 25 Feb 2020 20:33:27 +0100 Subject: [PATCH] grid: grid_reflow(): may be called with old_rows/cols == new_rows/cols TODO: avoid calling grid_reflow() in this case. --- grid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grid.c b/grid.c index 463dca7e..d538edc9 100644 --- a/grid.c +++ b/grid.c @@ -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;