aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
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 /st.c
parent5345db3c9be1a22ca19202035b881b951c2f0f9e (diff)
downloadst-6ac8c8aa50d521f82d491ab54eb972660fdf3207.tar.gz
selextend: clarify: !sel.mode == SEL_IDLE
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)
{
int oldey, oldex, oldsby, oldsey, oldtype;
- if (!sel.mode)
+ if (sel.mode == SEL_IDLE)
return;
if (done && sel.mode == SEL_EMPTY) {
selclear();
remember that computers suck.