aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-07-22 08:01:18 +0100
committerThomas Adam <thomas@xteddy.org>2020-07-22 08:01:18 +0100
commite0d984597b4504b05809a47888843ef572c1180f (patch)
tree99f5bf22c5792b1506c83ef1b86d1aec687cf49f
parent90de0c1a9b044d1c180f3a10399f5372e7a434ab (diff)
parent1f5e520def5a66ad47e7e0a8755f2952241096e5 (diff)
downloadrtmux-e0d984597b4504b05809a47888843ef572c1180f.tar.gz
rtmux-e0d984597b4504b05809a47888843ef572c1180f.tar.bz2
rtmux-e0d984597b4504b05809a47888843ef572c1180f.zip
Merge branch 'obsd-master'
-rw-r--r--screen-redraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index 3391a891..50df2671 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -254,7 +254,7 @@ screen_redraw_type_of_cell(struct client *c, u_int px, u_int py,
int borders = 0;
/* Is this outside the window? */
- if (px >= sx || py >= sy)
+ if (px > sx || py > sy)
return (CELL_OUTSIDE);
/*
@@ -330,7 +330,7 @@ screen_redraw_check_cell(struct client *c, u_int px, u_int py, int pane_status,
*wpp = NULL;
- if (px >= w->sx || py >= w->sy)
+ if (px > w->sx || py > w->sy)
return (CELL_OUTSIDE);
if (px == w->sx || py == w->sy) /* window border */
return (screen_redraw_type_of_cell(c, px, py, pane_status));