aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index 3ac1c91..c1d48dd 100644
--- a/main.c
+++ b/main.c
@@ -109,7 +109,7 @@ drawmenu(void) {
109} 109}
110 110
111static unsigned long 111static unsigned long
112getcolor(const char *colstr) { 112initcolor(const char *colstr) {
113 Colormap cmap = DefaultColormap(dpy, screen); 113 Colormap cmap = DefaultColormap(dpy, screen);
114 XColor color; 114 XColor color;
115 115
@@ -470,10 +470,10 @@ main(int argc, char *argv[]) {
470 } 470 }
471 XFreeModifiermap(modmap); 471 XFreeModifiermap(modmap);
472 /* style */ 472 /* style */
473 dc.norm[ColBG] = getcolor(normbg); 473 dc.norm[ColBG] = initcolor(normbg);
474 dc.norm[ColFG] = getcolor(normfg); 474 dc.norm[ColFG] = initcolor(normfg);
475 dc.sel[ColBG] = getcolor(selbg); 475 dc.sel[ColBG] = initcolor(selbg);
476 dc.sel[ColFG] = getcolor(selfg); 476 dc.sel[ColFG] = initcolor(selfg);
477 initfont(font); 477 initfont(font);
478 /* menu window */ 478 /* menu window */
479 wa.override_redirect = 1; 479 wa.override_redirect = 1;