aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-10-16 18:26:11 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-10-16 18:26:11 +0100
commit05026fb5ce6dcf7a894e7a31876e1cb30db4b04c (patch)
tree043f3354817ddd8ae5d2f2cb48067a0d8b7e7987
parent1cf386446458d9b12f6bdca9e34a340c10f79c26 (diff)
downloaddmenu-05026fb5ce6dcf7a894e7a31876e1cb30db4b04c.tar.gz
dmenu-05026fb5ce6dcf7a894e7a31876e1cb30db4b04c.tar.bz2
dmenu-05026fb5ce6dcf7a894e7a31876e1cb30db4b04c.zip
fix extra warning
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index f105b56..dc1f236 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -41,7 +41,6 @@ static void usage(void);
static char text[BUFSIZ] = "";
static int bh, mw, mh;
static int inputw, promptw;
-static int lines = 0;
static size_t cursor = 0;
static const char *font = NULL;
static const char *prompt = NULL;
@@ -49,6 +48,7 @@ static const char *normbgcolor = "#cccccc";
static const char *normfgcolor = "#000000";
static const char *selbgcolor = "#0066ff";
static const char *selfgcolor = "#ffffff";
+static unsigned int lines = 0;
static unsigned long normcol[ColLast];
static unsigned long selcol[ColLast];
static Atom utf8;