=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.319 retrieving revision 1.320 diff -u -r1.319 -r1.320 --- src/usr.bin/tmux/tty.c 2019/03/14 17:58:52 1.319 +++ src/usr.bin/tmux/tty.c 2019/04/17 14:43:49 1.320 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.319 2019/03/14 17:58:52 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.320 2019/04/17 14:43:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -907,9 +907,8 @@ lines = 0; if (xoff + nx <= ctx->ox || xoff >= ctx->ox + ctx->sx || - yoff + ny <= ctx->oy || yoff >= lines + ctx->oy + ctx->sy) { + yoff + ny <= ctx->oy || yoff >= lines + ctx->oy + ctx->sy) return (0); - } return (1); }