aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarg@mig292006-12-08 11:11:52 +0100
committerarg@mig292006-12-08 11:11:52 +0100
commitac6e34ea06ae4fefbd3fbe16f222a3452c6f4d8c (patch)
tree857787b92d7304e35eb73d670652f5f50b41e5b4
parenta308b7507abb77940f3b4ba34655c5a7c234bee3 (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 3bf687e..598a667 100644
--- a/draw.c
+++ b/draw.c
@@ -198,7 +198,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;
}