aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/st.c b/st.c
index 386e6c0..65a1866 100644
--- a/st.c
+++ b/st.c
@@ -944,17 +944,17 @@ void
944bpress(XEvent *e) 944bpress(XEvent *e)
945{ 945{
946 struct timespec now; 946 struct timespec now;
947 MouseShortcut *mk; 947 MouseShortcut *ms;
948 948
949 if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { 949 if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
950 mousereport(e); 950 mousereport(e);
951 return; 951 return;
952 } 952 }
953 953
954 for (mk = mshortcuts; mk < mshortcuts + LEN(mshortcuts); mk++) { 954 for (ms = mshortcuts; ms < mshortcuts + LEN(mshortcuts); ms++) {
955 if (e->xbutton.button == mk->b 955 if (e->xbutton.button == ms->b
956 && match(mk->mask, e->xbutton.state)) { 956 && match(ms->mask, e->xbutton.state)) {
957 ttysend(mk->s, strlen(mk->s)); 957 ttysend(ms->s, strlen(ms->s));
958 return; 958 return;
959 } 959 }
960 } 960 }