dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit e7423f8fc69d9b7dc8c04e4ed8bb546938449084
parent 61976c292bf575859390eeefca087cb60a57ee8b
Author: Sander van Dijk <a.h.vandijk@gmail.com>
Date:   Sun, 23 Mar 2008 22:06:09 +0100

more cosmetics
Diffstat:
Mdmenu.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dmenu.c b/dmenu.c
@@ -707,12 +707,11 @@ main(int argc, char *argv[]) {
             if(++i < argc) x = atoi(argv[i]);
         }
         else if(!strcmp(argv[i], "-y")) {
-            if(++i < argc) {
+            if(++i < argc)
                 if(!strcmp(argv[i], "-0"))
                     y = (int)(unsigned int)-1;
                 else
                     y = atoi(argv[i]);
-            }
         }
         else if(!strcmp(argv[i], "-w")) {
             if(++i < argc) w = atoi(argv[i]);