From: Hiltjo Posthuma Date: Sat, 17 Mar 2018 12:48:29 +0000 (+0100) Subject: selextend: clarify: !sel.mode == SEL_IDLE X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=6ac8c8aa50d521f82d491ab54eb972660fdf3207;p=st.git selextend: clarify: !sel.mode == SEL_IDLE --- 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();