slight logic change

This commit is contained in:
speedie 2023-01-22 22:18:16 +01:00
parent 89f361fe5a
commit b2dea6d4de

View file

@ -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]);