From: arg@mig29 Date: Fri, 8 Dec 2006 10:12:11 +0000 (+0100) Subject: fixed diagnostic error message X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=e19e42adbba5ea74778bcd10c6e8720d0755f812;p=dmenu.git fixed diagnostic error message --- 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; }