From 91aa621fcc73c05cdc7f4fe26935a62182e57e54 Mon Sep 17 00:00:00 2001
From: Ivan Tham <[email protected]>
Date: Sun, 1 Nov 2015 10:53:56 +0800
Subject: [PATCH] Now the mshortcuts are even more consistent.

    Keep everyone happy
---
 st.c | 10 +++++-----
 1 file 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
 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;
 		}
 	}
-- 
2.6.2

Attachment: signature.asc
Description: PGP signature

Reply via email to