fixed diagnostic error message
authorarg@mig29 <unknown>
Fri, 8 Dec 2006 10:12:11 +0000 (11:12 +0100)
committerarg@mig29 <unknown>
Fri, 8 Dec 2006 10:12:11 +0000 (11:12 +0100)
draw.c

diff --git a/draw.c b/draw.c
index ea02c4d..710af8e 100644 (file)
--- a/draw.c
+++ b/draw.c
@@ -108,7 +108,7 @@ setfont(const char *fontstr) {
                        XFreeFont(dpy, dc.font.xfont);
                dc.font.xfont = NULL;
                if(!(dc.font.xfont = XLoadQueryFont(dpy, fontstr)))
-                       eprint("error, cannot init 'fixed' font\n");
+                       eprint("error, cannot load font: '%s'\n", fontstr);
                dc.font.ascent = dc.font.xfont->ascent;
                dc.font.descent = dc.font.xfont->descent;
        }