Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
selextend: clarify: !sel.mode == SEL_IDLE
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
581647b
..
46c954b
100644
(file)
--- 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();