tfixed diagnostic error message - dmenu - Dmenu fork with xft fonts.
(HTM) git clone git://r-36.net/dmenu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e19e42adbba5ea74778bcd10c6e8720d0755f812
(DIR) parent 796c4fb9e542d3e14c9a2a62a4a673d210c9ad12
(HTM) Author: arg@mig29 <unknown>
Date: Fri, 8 Dec 2006 11:12:11 +0100
fixed diagnostic error message
Diffstat:
draw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/draw.c b/draw.c
t@@ -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;
}