aboutsummaryrefslogtreecommitdiff
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) {
108 XFreeFont(dpy, dc.font.xfont); 108 XFreeFont(dpy, dc.font.xfont);
109 dc.font.xfont = NULL; 109 dc.font.xfont = NULL;
110 if(!(dc.font.xfont = XLoadQueryFont(dpy, fontstr))) 110 if(!(dc.font.xfont = XLoadQueryFont(dpy, fontstr)))
111 eprint("error, cannot init 'fixed' font\n"); 111 eprint("error, cannot load font: '%s'\n", fontstr);
112 dc.font.ascent = dc.font.xfont->ascent; 112 dc.font.ascent = dc.font.xfont->ascent;
113 dc.font.descent = dc.font.xfont->descent; 113 dc.font.descent = dc.font.xfont->descent;
114 } 114 }