found compromise
authorarg@mig29 <unknown>
Thu, 7 Dec 2006 13:38:31 +0000 (14:38 +0100)
committerarg@mig29 <unknown>
Thu, 7 Dec 2006 13:38:31 +0000 (14:38 +0100)
dmenu.h
draw.c

diff --git a/dmenu.h b/dmenu.h
index 08d7605..ff9790d 100644 (file)
--- a/dmenu.h
+++ b/dmenu.h
@@ -4,7 +4,7 @@
 
 #include <X11/Xlib.h>
 
-#define FONT                   "fixed"
+#define FONT                   "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*"
 #define NORMBGCOLOR            "#333366"
 #define NORMFGCOLOR            "#cccccc"
 #define SELBGCOLOR             "#666699"
diff --git a/draw.c b/draw.c
index 62f6e2c..bd11091 100644 (file)
--- a/draw.c
+++ b/draw.c
@@ -79,7 +79,7 @@ getcolor(const char *colstr) {
 
 void
 setfont(const char *fontstr) {
-       char **missing, *def;
+       char *def, **missing;
        int i, n;
 
        missing = NULL;