enforcing using fontsets even if they are incomplete for some encodings

This commit is contained in:
arg@mig29 2006-12-05 10:30:31 +01:00
parent 99964398e7
commit 9bd9ea423e
2 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# dwm version # dwm version
VERSION = 2.5.1 VERSION = 2.6
# Customize below to fit your system # Customize below to fit your system

4
draw.c
View File

@ -179,10 +179,6 @@ setfont(const char *fontstr) {
while(n--) while(n--)
fprintf(stderr, "missing fontset: %s\n", missing[n]); fprintf(stderr, "missing fontset: %s\n", missing[n]);
XFreeStringList(missing); XFreeStringList(missing);
if(dc.font.set) {
XFreeFontSet(dpy, dc.font.set);
dc.font.set = NULL;
}
} }
if(dc.font.set) { if(dc.font.set) {
XFontSetExtents *font_extents; XFontSetExtents *font_extents;