Hi,
Attached are two minuscule patches. The first (clean.diff) removes a
switch statement in event.c with only one case. The second (spell.diff)
fixes a spelling mistake by me in the shiftview comment.
Regards,
--
Jeroen Schot
[EMAIL PROTECTED] (mail jabber)
http://schot.a-eskwadraat.nl
diff -r 5b1caaa31aba event.c
--- a/event.c Tue Jul 24 18:29:29 2007 +0200
+++ b/event.c Tue Jul 24 22:50:48 2007 +0200
@@ -142,12 +142,8 @@ buttonpress(XEvent *e) {
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)
diff -r 5b1caaa31aba tag.c
--- a/tag.c Tue Jul 24 18:29:29 2007 +0200
+++ b/tag.c Wed Jul 25 01:21:19 2007 +0200
@@ -106,7 +106,7 @@ shiftview(const char *arg) {
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)