diff --git a/dmenu.c b/dmenu.c index 608023d..175cbdc 100644 --- a/dmenu.c +++ b/dmenu.c @@ -42,7 +42,6 @@ static void setup(void); static void usage(void); static char text[4096]; -static int promptw; static size_t cursor = 0; static const char *prompt = NULL; static const char *normbgcolor = "#cccccc"; @@ -52,6 +51,7 @@ static const char *selfgcolor = "#ffffff"; static unsigned int inputw = 0; static unsigned int lines = 0; static unsigned int mw, mh; +static unsigned int promptw; static unsigned long normcol[ColLast]; static unsigned long selcol[ColLast]; static Atom utf8;