aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dmenu.c b/dmenu.c
index 4584c07..695b25c 100644
--- 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]);