aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander van Dijk2008-03-23 22:06:09 +0100
committerSander van Dijk2008-03-23 22:06:09 +0100
commite7423f8fc69d9b7dc8c04e4ed8bb546938449084 (patch)
tree66e75d1e2d7e83efa247b2d284b562ba3c48d28c
parent61976c292bf575859390eeefca087cb60a57ee8b (diff)
more cosmetics
-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]);