Xinqi Bao's Git
projects
/
dmenu.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
1cf3864
)
fix extra warning
author
Connor Lane Smith <
[email protected]
>
Sun, 16 Oct 2011 17:26:11 +0000
(18:26 +0100)
committer
Connor Lane Smith <
[email protected]
>
Sun, 16 Oct 2011 17:26:11 +0000
(18:26 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
f105b56
..
dc1f236
100644
(file)
--- 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 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;
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 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;
static unsigned long normcol[ColLast];
static unsigned long selcol[ColLast];
static Atom utf8;