diff options
-rw-r--r-- | dmenu.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -541,7 +541,7 @@ run(void) | |||
541 | static void | 541 | static void |
542 | setup(void) | 542 | setup(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); |