summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-09-01 23:44:39 +0200
committerBoris Faure <billiob@gmail.com>2015-09-01 23:45:18 +0200
commit22ae02127b3c9ef11ccfe27fd4022586a10cb07f (patch)
tree98aa8ca6108f8da22b84647de54d3abd91349d24
parentede0abb24582519d0b0012cb6e5e239def5d5a83 (diff)
fix copy/paste bug. CID1316546
-rw-r--r--src/bin/termio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 42f5502..4357e42 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2849,7 +2849,7 @@ _trim_sel_word(Termio *sd)
2849 ((y == pty->selection.end.y) && 2849 ((y == pty->selection.end.y) &&
2850 (start >= pty->selection.end.x))) 2850 (start >= pty->selection.end.x)))
2851 { 2851 {
2852 pty->selection.start.y = pty->selection.start.y; 2852 pty->selection.start.y = pty->selection.end.y;
2853 pty->selection.start.x = pty->selection.end.x; 2853 pty->selection.start.x = pty->selection.end.x;
2854 return; 2854 return;
2855 } 2855 }