selextend: clarify: !sel.mode == SEL_IDLE

This commit is contained in:
Hiltjo Posthuma 2018-03-17 13:48:29 +01:00
parent 5345db3c9b
commit 6ac8c8aa50

2
st.c
View File

@ -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();