=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/screen-redraw.c,v retrieving revision 1.80 retrieving revision 1.81 diff -c -r1.80 -r1.81 *** src/usr.bin/tmux/screen-redraw.c 2020/06/27 10:23:10 1.80 --- src/usr.bin/tmux/screen-redraw.c 2020/07/22 06:21:46 1.81 *************** *** 1,4 **** ! /* $OpenBSD: screen-redraw.c,v 1.80 2020/06/27 10:23:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: screen-redraw.c,v 1.81 2020/07/22 06:21:46 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 254,260 **** int borders = 0; /* Is this outside the window? */ ! if (px >= sx || py >= sy) return (CELL_OUTSIDE); /* --- 254,260 ---- int borders = 0; /* Is this outside the window? */ ! if (px > sx || py > sy) return (CELL_OUTSIDE); /* *************** *** 330,336 **** *wpp = NULL; ! 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)); --- 330,336 ---- *wpp = NULL; ! 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));