forked from speedie/spmenu
slight logic change
This commit is contained in:
parent
89f361fe5a
commit
b2dea6d4de
5
spmenu.c
5
spmenu.c
|
@ -1894,9 +1894,10 @@ main(int argc, char *argv[])
|
||||||
rightarrow = argv[++i];
|
rightarrow = argv[++i];
|
||||||
} else if (!strcmp(argv[i], "-m")) /* monitor */
|
} else if (!strcmp(argv[i], "-m")) /* monitor */
|
||||||
mon = atoi(argv[++i]);
|
mon = atoi(argv[++i]);
|
||||||
else if (!strcmp(argv[i], "-bw")) /* border width */
|
else if (!strcmp(argv[i], "-bw")) { /* border width */
|
||||||
|
bordercentered = 0;
|
||||||
borderwidth = atoi(argv[++i]);
|
borderwidth = atoi(argv[++i]);
|
||||||
else if (!strcmp(argv[i], "-H")) /* hist file location */
|
} else if (!strcmp(argv[i], "-H")) /* hist file location */
|
||||||
histfile = argv[++i];
|
histfile = argv[++i];
|
||||||
else if (!strcmp(argv[i], "-x")) /* window x offset */
|
else if (!strcmp(argv[i], "-x")) /* window x offset */
|
||||||
dmx = atoi(argv[++i]);
|
dmx = atoi(argv[++i]);
|
||||||
|
|
Loading…
Reference in a new issue