[hackers] [dmenu] fix extra warning || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Sun, 16 Oct 2011 19:26:40 +0200 (CEST)

changeset: 448:6e962f2337c2
tag: tip
parent: 444:2f548e0f8965
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Sun Oct 16 18:26:11 2011 +0100
files: dmenu.c
description:
fix extra warning


diff -r 2f548e0f8965 -r 6e962f2337c2 dmenu.c
--- a/dmenu.c Thu Oct 13 20:43:59 2011 +0100
+++ b/dmenu.c Sun Oct 16 18:26:11 2011 +0100
_AT_@ -41,7 +41,6 @@
 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;
_AT_@ -49,6 +48,7 @@
 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;
Received on Sun Oct 16 2011 - 19:26:40 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 16 2011 - 19:36:04 CEST