aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-20 13:57:05 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-20 13:57:05 +0100
commit8a10b35c64ebe8791ed5c7325b31d86e269b308c (patch)
tree11d8c57bce457594acc525ba3bd48cb16b9dc535
parente4fc9053178152332722d93f0ac81855629b93da (diff)
renamed getcolor to initcolor
-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;