=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window-copy.c,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/tmux/window-copy.c 2009/08/05 16:26:38 1.14 --- src/usr.bin/tmux/window-copy.c 2009/08/08 13:29:27 1.15 *************** *** 1,4 **** ! /* $OpenBSD: window-copy.c,v 1.14 2009/08/05 16:26:38 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window-copy.c,v 1.15 2009/08/08 13:29:27 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 537,543 **** * width of the grid, and screen_write_copy treats them as spaces, so * ignore them here too. */ ! px = wp->base.grid->size[py]; if (px > screen_size_x(&wp->base)) px = screen_size_x(&wp->base); while (px > 0) { --- 537,543 ---- * width of the grid, and screen_write_copy treats them as spaces, so * ignore them here too. */ ! px = wp->base.grid->linedata[py].cellsize; if (px > screen_size_x(&wp->base)) px = screen_size_x(&wp->base); while (px > 0) {