summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-12-08 11:12:11 +0100
committerarg@mig29 <unknown>2006-12-08 11:12:11 +0100
commite19e42adbba5ea74778bcd10c6e8720d0755f812 (patch)
treef5b15e484b467b44096bb7b2d47776497566d948
parent796c4fb9e542d3e14c9a2a62a4a673d210c9ad12 (diff)
fixed diagnostic error message
-rw-r--r--draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw.c b/draw.c
index ea02c4d..710af8e 100644
--- 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;
}