diff options
-rw-r--r-- | draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | } |