enforcing using imcomplete fonsets anyways 5d43e924
arg@mig29 · 2006-12-05 10:31 2 file(s) · +2 −7
config.mk +1 −1
1 1
# dmenu version
2 -
VERSION = 1.5
2 +
VERSION = 1.6
3 3
4 4
# Customize below to fit your system
5 5
draw.c +1 −6
88 88
	if(dc.font.set)
89 89
		XFreeFontSet(dpy, dc.font.set);
90 90
	dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
91 -
	if(missing) {
91 +
	if(missing)
92 92
		XFreeStringList(missing);
93 -
		if(dc.font.set) {
94 -
			XFreeFontSet(dpy, dc.font.set);
95 -
			dc.font.set = NULL;
96 -
		}
97 -
	}
98 93
	if(dc.font.set) {
99 94
		XFontSetExtents *font_extents;
100 95
		XFontStruct **xfonts;