dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit e4fc9053178152332722d93f0ac81855629b93da
parent a1913a6af7c9cd6de18e15e989050690fdaa6600
Author: Anselm R. Garbe <arg@suckless.org>
Date:   Tue, 20 Feb 2007 13:54:37 +0100

s/setfont/initfont/
Diffstat:
Mmain.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
@@ -119,7 +119,7 @@ getcolor(const char *colstr) {
 }
 
 static void
-setfont(const char *fontstr) {
+initfont(const char *fontstr) {
     char *def, **missing;
     int i, n;
 
@@ -474,7 +474,7 @@ main(int argc, char *argv[]) {
     dc.norm[ColFG] = getcolor(normfg);
     dc.sel[ColBG] = getcolor(selbg);
     dc.sel[ColFG] = getcolor(selfg);
-    setfont(font);
+    initfont(font);
     /* menu window */
     wa.override_redirect = 1;
     wa.background_pixmap = ParentRelative;