fixed diagnostic error message
ac6e34ea
1 file(s) · +1 −1
| 198 | 198 | XFreeFont(dpy, dc.font.xfont); |
|
| 199 | 199 | dc.font.xfont = NULL; |
|
| 200 | 200 | if(!(dc.font.xfont = XLoadQueryFont(dpy, fontstr))) |
|
| 201 | - | eprint("error, cannot init 'fixed' font\n"); |
|
| 201 | + | eprint("error, cannot load font: '%s'\n", fontstr); |
|
| 202 | 202 | dc.font.ascent = dc.font.xfont->ascent; |
|
| 203 | 203 | dc.font.descent = dc.font.xfont->descent; |
|
| 204 | 204 | } |