From ac6e34ea06ae4fefbd3fbe16f222a3452c6f4d8c Mon Sep 17 00:00:00 2001 From: arg@mig29 Date: Fri, 8 Dec 2006 11:11:52 +0100 Subject: fixed diagnostic error message --- draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.c b/draw.c index 3bf687e..598a667 100644 --- a/draw.c +++ b/draw.c @@ -198,7 +198,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; } -- cgit v1.2.3