Browse Source

selextend: clarify: !sel.mode == SEL_IDLE

master
Hiltjo Posthuma 6 years ago
parent
commit
6ac8c8aa50
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

@ -461,7 +461,7 @@ selextend(int col, int row, int type, int done)
{ {
int oldey, oldex, oldsby, oldsey, oldtype; int oldey, oldex, oldsby, oldsey, oldtype;
if (!sel.mode)
if (sel.mode == SEL_IDLE)
return; return;
if (done && sel.mode == SEL_EMPTY) { if (done && sel.mode == SEL_EMPTY) {
selclear(); selclear();


Loading…
Cancel
Save