summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-08-18 22:37:10 +0200
committerBoris Faure <billiob@gmail.com>2015-08-18 22:37:10 +0200
commit1400b122ece34a0c6bf089fb308fc803fc4f830d (patch)
tree240157bfc96a9bed319ac29849a06b26bdaa1e52 /src
parent7fd86d89689e9561741e5fa4634a05159692620b (diff)
bad copy/paste. CID1316546
Diffstat (limited to 'src')
-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 91eb8cc..786cf3c 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2848,7 +2848,7 @@ _trim_sel_word(Termio *sd)
2848 ((y == pty->selection.start.y) && 2848 ((y == pty->selection.start.y) &&
2849 (end < pty->selection.start.x))) 2849 (end < pty->selection.start.x)))
2850 { 2850 {
2851 pty->selection.end.x = pty->selection.end.x; 2851 pty->selection.end.x = pty->selection.start.x;
2852 pty->selection.end.y = pty->selection.start.y; 2852 pty->selection.end.y = pty->selection.start.y;
2853 return; 2853 return;
2854 } 2854 }