[hackers] [st] selextend: clarify: !sel.mode == SEL_IDLE || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sat, 17 Mar 2018 13:48:53 +0100 (CET)

commit 6ac8c8aa50d521f82d491ab54eb972660fdf3207
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Sat Mar 17 13:48:29 2018 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Sat Mar 17 13:48:29 2018 +0100

    selextend: clarify: !sel.mode == SEL_IDLE

diff --git a/st.c b/st.c
index 581647b..46c954b 100644
--- a/st.c
+++ b/st.c
_AT_@ -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();
Received on Sat Mar 17 2018 - 13:48:53 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 17 2018 - 14:00:35 CET