all repos — dmenu @ 8a10b35c64ebe8791ed5c7325b31d86e269b308c

my build of dmenu

renamed getcolor to initcolor
Anselm R. Garbe arg@suckless.org
Tue, 20 Feb 2007 13:57:05 +0100
commit

8a10b35c64ebe8791ed5c7325b31d86e269b308c

parent

e4fc9053178152332722d93f0ac81855629b93da

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M main.cmain.c

@@ -109,7 +109,7 @@ XFlush(dpy);

} static unsigned long -getcolor(const char *colstr) { +initcolor(const char *colstr) { Colormap cmap = DefaultColormap(dpy, screen); XColor color;

@@ -470,10 +470,10 @@ }

} 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;