diff options
author | 2019-08-01 07:08:13 +0000 | |
---|---|---|
committer | 2019-08-01 07:08:13 +0000 | |
commit | 6521c58462c44240ec4eb2de7dc2437555fbcbd8 (patch) | |
tree | f9d3410c700d127232d94564dcbdd9e72b85b0d4 /usr.bin/tmux/grid.c | |
parent | Fix fd leak that broke disk_close(). (diff) | |
download | wireguard-openbsd-6521c58462c44240ec4eb2de7dc2437555fbcbd8.tar.xz wireguard-openbsd-6521c58462c44240ec4eb2de7dc2437555fbcbd8.zip |
Remove check for same size - size has already been changed so this
breaks reflow.
Diffstat (limited to 'usr.bin/tmux/grid.c')
-rw-r--r-- | usr.bin/tmux/grid.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c index ee5064ef011..18e2c73a7d6 100644 --- a/usr.bin/tmux/grid.c +++ b/usr.bin/tmux/grid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.98 2019/07/16 10:30:56 nicm Exp $ */ +/* $OpenBSD: grid.c,v 1.99 2019/08/01 07:08:13 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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. |