Commit Diff


commit - f0a5b75d6a0d2a62da45e9f65d92ea4a6a2d5831
commit + 84a1bc5d0d6b54eb23268e8f02a787be9ccbd919
blob - eae56850e37d6cf78b570a46b1f5abe57e3df563
blob + 3c261c0b0a8131680e0e8bde1b022ee108cf0d0a
--- dmenu.c
+++ dmenu.c
@@ -541,7 +541,7 @@ run(void)
 static void
 setup(void)
 {
-	int x, y, i = 0;
+	int x, y, i, j = 0;
 	unsigned int du;
 	XSetWindowAttributes swa;
 	XIM xim;
@@ -551,9 +551,8 @@ setup(void)
 #ifdef XINERAMA
 	XineramaScreenInfo *info;
 	Window pw;
-	int a, j, di, n, area = 0;
+	int a, di, n, area = 0;
 #endif
-
 	/* init appearance */
 	for (j = 0; j < SchemeLast; j++)
 		scheme[j] = drw_scm_create(drw, colors[j], 2);