[hackers] [dwm] applied Jeroen's {clean, spell}.diff patches, thanks Jeroen!

From: Anselm R. Garbe <garbeam_AT_gmail.com>
Date: Thu Jul 26 20:20:12 2007

changeset: 925:10df275327ce
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Thu Jul 26 20:15:02 2007 +0200
summary: applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!

diff -r 5b1caaa31aba -r 10df275327ce event.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 @@ 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 -r 10df275327ce tag.c
--- 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 @@ 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)
Received on Thu Jul 26 2007 - 20:20:12 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:41 UTC