aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }