summaryrefslogtreecommitdiffstats
path: root/grid.c
diff options
context:
space:
mode:
authornicm <nicm>2019-08-01 07:08:13 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2019-09-16 08:58:35 +0100
commit7e4439beb7a36919a029183506fb1f383217cbdd (patch)
tree80139aa7e51a5a6c4f2275a86ad2342d263a4afb /grid.c
parent79f09b4d855b2339db2c859266135ab1b6368a61 (diff)
Remove check for same size - size has already been changed so this
breaks reflow.
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/grid.c b/grid.c
index f33eef72..2f1e9b59 100644
--- a/grid.c
+++ b/grid.c
@@ -1220,10 +1220,6 @@ grid_reflow(struct grid *gd, u_int sx)
struct grid_cell gc;
u_int yy, width, i, at, first;
- /* Do not reflow to the same size. */
- if (sx == gd->sx)
- return;
-
/*
* Create a destination grid. This is just used as a container for the
* line data and may not be fully valid.