[hackers] [dmenu] cleaned up || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Tue, 3 Aug 2010 16:18:29 +0000 (UTC)

changeset: 348:43d46730881a
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Tue Aug 03 17:18:24 2010 +0100
files: dmenu.c
description:
cleaned up

diff -r 60f1c0d04405 -r 43d46730881a dmenu.c
--- a/dmenu.c Tue Aug 03 17:10:29 2010 +0100
+++ b/dmenu.c Tue Aug 03 17:18:24 2010 +0100
@@ -109,6 +109,7 @@
         dc->x = 0;
         dc->y = 0;
         drawrect(dc, 0, 0, mw, mh, BG(dc, normcol));
+
         dc->h = dc->font.height + 2;
         dc->y = topbar ? 0 : mh - dc->h;
         /* print prompt? */
@@ -524,9 +525,8 @@
                 else if(i == argc-1)
                         usage();
                 /* double flags */
- else if(!strcmp(argv[i], "-l")) {
+ else if(!strcmp(argv[i], "-l"))
                         lines = atoi(argv[++i]);
- }
                 else if(!strcmp(argv[i], "-p"))
                         prompt = argv[++i];
                 else if(!strcmp(argv[i], "-fn"))
Received on Tue Aug 03 2010 - 18:18:29 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 18:24:04 CEST