aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-03-17 13:48:29 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-17 13:48:29 +0100
commit6ac8c8aa50d521f82d491ab54eb972660fdf3207 (patch)
tree7d390ca49a66b810309585bcecc388af2175ba36
parent5345db3c9be1a22ca19202035b881b951c2f0f9e (diff)
downloadst-patched-6ac8c8aa50d521f82d491ab54eb972660fdf3207.tar.bz2
st-patched-6ac8c8aa50d521f82d491ab54eb972660fdf3207.tar.xz
st-patched-6ac8c8aa50d521f82d491ab54eb972660fdf3207.zip
selextend: clarify: !sel.mode == SEL_IDLE
-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();