diff options
author | arg@mig29 <unknown> | 2006-12-05 10:31:20 +0100 |
---|---|---|
committer | arg@mig29 <unknown> | 2006-12-05 10:31:20 +0100 |
commit | 5d43e9243ce7b3273f2438bec2da170dcc8e329b (patch) | |
tree | 78604b10f12296ae101b2b747ca097953904595e /draw.c | |
parent | 1026eb83089c3e79a12d2d74f3b6b01703e6f55a (diff) |
enforcing using imcomplete fonsets anyways
Diffstat (limited to 'draw.c')
-rw-r--r-- | draw.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -88,13 +88,8 @@ setfont(const char *fontstr) { if(dc.font.set) XFreeFontSet(dpy, dc.font.set); dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); - if(missing) { + if(missing) XFreeStringList(missing); - if(dc.font.set) { - XFreeFontSet(dpy, dc.font.set); - dc.font.set = NULL; - } - } if(dc.font.set) { XFontSetExtents *font_extents; XFontStruct **xfonts; |