From 8a10b35c64ebe8791ed5c7325b31d86e269b308c Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 20 Feb 2007 13:57:05 +0100 Subject: renamed getcolor to initcolor --- main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 3ac1c91..c1d48dd 100644 --- a/main.c +++ b/main.c @@ -109,7 +109,7 @@ drawmenu(void) { } static unsigned long -getcolor(const char *colstr) { +initcolor(const char *colstr) { Colormap cmap = DefaultColormap(dpy, screen); XColor color; @@ -470,10 +470,10 @@ main(int argc, char *argv[]) { } XFreeModifiermap(modmap); /* style */ - dc.norm[ColBG] = getcolor(normbg); - dc.norm[ColFG] = getcolor(normfg); - dc.sel[ColBG] = getcolor(selbg); - dc.sel[ColFG] = getcolor(selfg); + dc.norm[ColBG] = initcolor(normbg); + dc.norm[ColFG] = initcolor(normfg); + dc.sel[ColBG] = initcolor(selbg); + dc.sel[ColFG] = initcolor(selfg); initfont(font); /* menu window */ wa.override_redirect = 1; -- cgit v1.2.3