more cosmetics
authorSander van Dijk <a.h.vandijk@gmail.com>
Sun, 23 Mar 2008 21:06:09 +0000 (22:06 +0100)
committerSander van Dijk <a.h.vandijk@gmail.com>
Sun, 23 Mar 2008 21:06:09 +0000 (22:06 +0100)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index 4584c07..695b25c 100644 (file)
--- 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]);