diff options
-rw-r--r-- | main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -109,7 +109,7 @@ drawmenu(void) { | |||
109 | } | 109 | } |
110 | 110 | ||
111 | static unsigned long | 111 | static unsigned long |
112 | getcolor(const char *colstr) { | 112 | initcolor(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; |