fixed a small bug in dmenu when an empty font is supplied aa2f73fc
Anselm R. Garbe · 2007-05-02 15:25 2 file(s) · +3 −1
config.mk +1 −1
1 1
# dmenu version
2 -
VERSION = 3.0
2 +
VERSION = 3.1
3 3
4 4
# Customize below to fit your system
5 5
main.c +2 −0
135 135
	char *def, **missing;
136 136
	int i, n;
137 137
138 +
	if(!fontstr || fontstr[0] == '\0')
139 +
		eprint("error, cannot load font: '%s'\n", fontstr);
138 140
	missing = NULL;
139 141
	if(dc.font.set)
140 142
		XFreeFontSet(dpy, dc.font.set);