diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-02-21 09:23:50 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-02-21 09:23:50 +0000 |
commit | 0ad2beae7e55cb3918d76825e1644e07af51253e (patch) | |
tree | 8981841befb0041f40e8f7424d2212612f4438b1 /grid-view.c | |
parent | 55e76edd3cc9bfa8aeac60b17d3344031097b1b6 (diff) | |
parent | f27e1d07fced949f6186ef57fcb8869e70c7d1c7 (diff) | |
download | rtmux-0ad2beae7e55cb3918d76825e1644e07af51253e.tar.gz rtmux-0ad2beae7e55cb3918d76825e1644e07af51253e.tar.bz2 rtmux-0ad2beae7e55cb3918d76825e1644e07af51253e.zip |
Merge branch 'obsd-master'
Conflicts:
Makefile
Diffstat (limited to 'grid-view.c')
-rw-r--r-- | grid-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grid-view.c b/grid-view.c index b84ac64e..fe096252 100644 --- a/grid-view.c +++ b/grid-view.c @@ -194,7 +194,7 @@ grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg) sx = grid_view_x(gd, gd->sx); - if (px == sx - 1) + if (px >= sx - 1) grid_clear(gd, px, py, 1, 1, bg); else grid_move_cells(gd, px + nx, px, py, sx - px - nx, bg); |