aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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[]) {
707 if(++i < argc) x = atoi(argv[i]); 707 if(++i < argc) x = atoi(argv[i]);
708 } 708 }
709 else if(!strcmp(argv[i], "-y")) { 709 else if(!strcmp(argv[i], "-y")) {
710 if(++i < argc) { 710 if(++i < argc)
711 if(!strcmp(argv[i], "-0")) 711 if(!strcmp(argv[i], "-0"))
712 y = (int)(unsigned int)-1; 712 y = (int)(unsigned int)-1;
713 else 713 else
714 y = atoi(argv[i]); 714 y = atoi(argv[i]);
715 }
716 } 715 }
717 else if(!strcmp(argv[i], "-w")) { 716 else if(!strcmp(argv[i], "-w")) {
718 if(++i < argc) w = atoi(argv[i]); 717 if(++i < argc) w = atoi(argv[i]);