diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-18 13:20:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-18 13:20:46 +0000 |
commit | c4d5989a4ef03db0477446ee004ef431be268286 (patch) | |
tree | bed1ce64996c04fa3aa95955bcbe2cda7285cc76 | |
parent | efb62d423b13b46b6d87fea40926e9ca42a10fd7 (diff) |
This is fixed.
-rw-r--r-- | window-copy.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/window-copy.c b/window-copy.c index 89b909ab..c8b614f6 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1,4 +1,4 @@ -/* $Id: window-copy.c,v 1.39 2009-01-12 00:52:37 nicm Exp $ */ +/* $Id: window-copy.c,v 1.40 2009-01-18 13:20:46 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -401,11 +401,6 @@ window_copy_copy_selection(struct window_pane *wp, struct client *c) xx = window_copy_find_length(wp, sy); window_copy_copy_line(wp, &buf, &off, sy, sx, xx); if (ey - sy > 1) { - /* - * XXX gcc -O2 completely screws this up and either - * causes a segfault or exits the loop after one - * iteration. - */ for (i = sy + 1; i < ey - 1; i++) { xx = window_copy_find_length(wp, i); window_copy_copy_line(wp, &buf, &off, i, 0, xx); |