aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/dmenu.c b/dmenu.c
index eae5685..3c261c0 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -541,7 +541,7 @@ run(void)
541static void 541static void
542setup(void) 542setup(void)
543{ 543{
544 int x, y, i = 0; 544 int x, y, i, j = 0;
545 unsigned int du; 545 unsigned int du;
546 XSetWindowAttributes swa; 546 XSetWindowAttributes swa;
547 XIM xim; 547 XIM xim;
@@ -551,9 +551,8 @@ setup(void)
551#ifdef XINERAMA 551#ifdef XINERAMA
552 XineramaScreenInfo *info; 552 XineramaScreenInfo *info;
553 Window pw; 553 Window pw;
554 int a, j, di, n, area = 0; 554 int a, di, n, area = 0;
555#endif 555#endif
556
557 /* init appearance */ 556 /* init appearance */
558 for (j = 0; j < SchemeLast; j++) 557 for (j = 0; j < SchemeLast; j++)
559 scheme[j] = drw_scm_create(drw, colors[j], 2); 558 scheme[j] = drw_scm_create(drw, colors[j], 2);