mirror of git://git.suckless.org/dmenu
more cosmetics
This commit is contained in:
parent
61976c292b
commit
e7423f8fc6
3
dmenu.c
3
dmenu.c
|
@ -707,12 +707,11 @@ main(int argc, char *argv[]) {
|
||||||
if(++i < argc) x = atoi(argv[i]);
|
if(++i < argc) x = atoi(argv[i]);
|
||||||
}
|
}
|
||||||
else if(!strcmp(argv[i], "-y")) {
|
else if(!strcmp(argv[i], "-y")) {
|
||||||
if(++i < argc) {
|
if(++i < argc)
|
||||||
if(!strcmp(argv[i], "-0"))
|
if(!strcmp(argv[i], "-0"))
|
||||||
y = (int)(unsigned int)-1;
|
y = (int)(unsigned int)-1;
|
||||||
else
|
else
|
||||||
y = atoi(argv[i]);
|
y = atoi(argv[i]);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if(!strcmp(argv[i], "-w")) {
|
else if(!strcmp(argv[i], "-w")) {
|
||||||
if(++i < argc) w = atoi(argv[i]);
|
if(++i < argc) w = atoi(argv[i]);
|
||||||
|
|
Loading…
Reference in New Issue