aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
authorSander van Dijk <a.h.vandijk@gmail.com>2008-03-23 22:06:09 +0100
committerSander van Dijk <a.h.vandijk@gmail.com>2008-03-23 22:06:09 +0100
commite7423f8fc69d9b7dc8c04e4ed8bb546938449084 (patch)
tree66e75d1e2d7e83efa247b2d284b562ba3c48d28c /dmenu.c
parent61976c292bf575859390eeefca087cb60a57ee8b (diff)
downloaddmenu-e7423f8fc69d9b7dc8c04e4ed8bb546938449084.tar.gz
dmenu-e7423f8fc69d9b7dc8c04e4ed8bb546938449084.tar.bz2
dmenu-e7423f8fc69d9b7dc8c04e4ed8bb546938449084.zip
more cosmetics
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]);