=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window-copy.c,v retrieving revision 1.180 retrieving revision 1.181 diff -c -r1.180 -r1.181 *** src/usr.bin/tmux/window-copy.c 2017/08/02 11:10:48 1.180 --- src/usr.bin/tmux/window-copy.c 2017/08/23 09:18:22 1.181 *************** *** 1,4 **** ! /* $OpenBSD: window-copy.c,v 1.180 2017/08/02 11:10:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window-copy.c,v 1.181 2017/08/23 09:18:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1001,1007 **** int matched; for (ax = first; ax < last; ax++) { ! if (ax + sgd->sx >= gd->sx) break; for (bx = 0; bx < sgd->sx; bx++) { px = ax + bx; --- 1001,1007 ---- int matched; for (ax = first; ax < last; ax++) { ! if (ax + sgd->sx > gd->sx) break; for (bx = 0; bx < sgd->sx; bx++) { px = ax + bx;