=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window-copy.c,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- src/usr.bin/tmux/window-copy.c 2011/12/04 16:18:01 1.76 +++ src/usr.bin/tmux/window-copy.c 2012/03/11 23:01:19 1.77 @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.76 2011/12/04 16:18:01 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.77 2012/03/11 23:01:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1629,7 +1629,7 @@ oy = screen_hsize(data->backing) + data->cy - data->oy; ox = window_copy_find_length(wp, oy); - if (ox != 0) { + if (data->cx != ox) { data->lastcx = data->cx; data->lastsx = ox; } @@ -1671,7 +1671,7 @@ oy = screen_hsize(data->backing) + data->cy - data->oy; ox = window_copy_find_length(wp, oy); - if (ox != 0) { + if (data->cx != ox) { data->lastcx = data->cx; data->lastsx = ox; }