aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 581647b..46c954b 100644
--- a/st.c
+++ b/st.c
@@ -461,7 +461,7 @@ selextend(int col, int row, int type, int done)
461{ 461{
462 int oldey, oldex, oldsby, oldsey, oldtype; 462 int oldey, oldex, oldsby, oldsey, oldtype;
463 463
464 if (!sel.mode) 464 if (sel.mode == SEL_IDLE)
465 return; 465 return;
466 if (done && sel.mode == SEL_EMPTY) { 466 if (done && sel.mode == SEL_EMPTY) {
467 selclear(); 467 selclear();