]> Sergey Matveev's repositories - st.git/blobdiff - st.c
Now the mshortcuts are even more consistent.
[st.git] / st.c
diff --git a/st.c b/st.c
index 386e6c01b32ff91338d32218fc9a0eae97e37336..65a1866684fea3dfe4b065e9e118ed68460f7806 100644 (file)
--- a/st.c
+++ b/st.c
@@ -944,17 +944,17 @@ void
 bpress(XEvent *e)
 {
        struct timespec now;
-       MouseShortcut *mk;
+       MouseShortcut *ms;
 
        if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
                mousereport(e);
                return;
        }
 
-       for (mk = mshortcuts; mk < mshortcuts + LEN(mshortcuts); mk++) {
-               if (e->xbutton.button == mk->b
-                               && match(mk->mask, e->xbutton.state)) {
-                       ttysend(mk->s, strlen(mk->s));
+       for (ms = mshortcuts; ms < mshortcuts + LEN(mshortcuts); ms++) {
+               if (e->xbutton.button == ms->b
+                               && match(ms->mask, e->xbutton.state)) {
+                       ttysend(ms->s, strlen(ms->s));
                        return;
                }
        }