diff options
-rw-r--r-- | dmenu.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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]); |