Xinqi Bao's Git
projects
/
dmenu.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
got rid of LD, inspired by JGs patch to wmii
[dmenu.git]
/
draw.c
diff --git
a/draw.c
b/draw.c
index
ea02c4d
..
92f07ca
100644
(file)
--- a/
draw.c
+++ b/
draw.c
@@
-1,4
+1,4
@@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* (C)opyright MMIV-MMVI
I
Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#include "dmenu.h"
* See LICENSE file for license details.
*/
#include "dmenu.h"
@@
-108,7
+108,7
@@
setfont(const char *fontstr) {
XFreeFont(dpy, dc.font.xfont);
dc.font.xfont = NULL;
if(!(dc.font.xfont = XLoadQueryFont(dpy, 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;
}
dc.font.ascent = dc.font.xfont->ascent;
dc.font.descent = dc.font.xfont->descent;
}