diff options
-rw-r--r-- | dmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,6 +109,7 @@ drawmenu(void) { | |||
109 | dc->x = 0; | 109 | dc->x = 0; |
110 | dc->y = 0; | 110 | dc->y = 0; |
111 | drawrect(dc, 0, 0, mw, mh, BG(dc, normcol)); | 111 | drawrect(dc, 0, 0, mw, mh, BG(dc, normcol)); |
112 | |||
112 | dc->h = dc->font.height + 2; | 113 | dc->h = dc->font.height + 2; |
113 | dc->y = topbar ? 0 : mh - dc->h; | 114 | dc->y = topbar ? 0 : mh - dc->h; |
114 | /* print prompt? */ | 115 | /* print prompt? */ |
@@ -524,9 +525,8 @@ main(int argc, char *argv[]) { | |||
524 | else if(i == argc-1) | 525 | else if(i == argc-1) |
525 | usage(); | 526 | usage(); |
526 | /* double flags */ | 527 | /* double flags */ |
527 | else if(!strcmp(argv[i], "-l")) { | 528 | else if(!strcmp(argv[i], "-l")) |
528 | lines = atoi(argv[++i]); | 529 | lines = atoi(argv[++i]); |
529 | } | ||
530 | else if(!strcmp(argv[i], "-p")) | 530 | else if(!strcmp(argv[i], "-p")) |
531 | prompt = argv[++i]; | 531 | prompt = argv[++i]; |
532 | else if(!strcmp(argv[i], "-fn")) | 532 | else if(!strcmp(argv[i], "-fn")) |