diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-20 13:57:05 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-20 13:57:05 +0100 |
commit | 8a10b35c64ebe8791ed5c7325b31d86e269b308c (patch) | |
tree | 11d8c57bce457594acc525ba3bd48cb16b9dc535 | |
parent | e4fc9053178152332722d93f0ac81855629b93da (diff) |
renamed getcolor to initcolor
-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; |