applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!
authorAnselm R. Garbe <garbeam@gmail.com>
Thu, 26 Jul 2007 20:15:02 +0200
changeset 925 10df275327ce
parent 924 5b1caaa31aba
child 926 6f9cf0cfe278
applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!
event.c
tag.c
--- a/event.c	Tue Jul 24 18:29:29 2007 +0200
+++ b/event.c	Thu Jul 26 20:15:02 2007 +0200
@@ -142,12 +142,8 @@
 				return;
 			}
 		}
-		if(ev->x < x + blw)
-			switch(ev->button) {
-			case Button1:
-				setlayout(NULL);
-				break;
-			}
+		if(ev->x < x + blw && ev->button == Button1)
+			setlayout(NULL);
 		else if(ev->button == Button4)
 			focusclient("-1");
 		else if(ev->button == Button5)
--- a/tag.c	Tue Jul 24 18:29:29 2007 +0200
+++ b/tag.c	Thu Jul 26 20:15:02 2007 +0200
@@ -106,7 +106,7 @@
 	for(i = 0; !seltag[i]; i++);
 	for(j = i + 1; j < ntags && !seltag[j]; j++);
 	if(j < ntags)
-		return; /* more then one tag selected */
+		return; /* more than one tag selected */
 	seltag[i] = False;
 	i += arg ? atoi(arg) : 0;
 	if(i < 0)