From 1400b122ece34a0c6bf089fb308fc803fc4f830d Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Tue, 18 Aug 2015 22:37:10 +0200 Subject: [PATCH] bad copy/paste. CID1316546 --- src/bin/termio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index 91eb8ccc..786cf3c6 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -2848,7 +2848,7 @@ _trim_sel_word(Termio *sd) ((y == pty->selection.start.y) && (end < pty->selection.start.x))) { - pty->selection.end.x = pty->selection.end.x; + pty->selection.end.x = pty->selection.start.x; pty->selection.end.y = pty->selection.start.y; return; }