diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-17 13:48:29 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-17 13:48:29 +0100 |
commit | 6ac8c8aa50d521f82d491ab54eb972660fdf3207 (patch) | |
tree | 7d390ca49a66b810309585bcecc388af2175ba36 | |
parent | 5345db3c9be1a22ca19202035b881b951c2f0f9e (diff) | |
download | st-patched-6ac8c8aa50d521f82d491ab54eb972660fdf3207.tar.bz2 st-patched-6ac8c8aa50d521f82d491ab54eb972660fdf3207.tar.xz st-patched-6ac8c8aa50d521f82d491ab54eb972660fdf3207.zip |
selextend: clarify: !sel.mode == SEL_IDLE
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |