aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdraw/font.c')
-rw-r--r--src/libdraw/font.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libdraw/font.c b/src/libdraw/font.c
index 13bcd267..c0235c4b 100644
--- a/src/libdraw/font.c
+++ b/src/libdraw/font.c
@@ -132,8 +132,7 @@ agefont(Font *f)
if(s->age){
if(s->age<SUBFAGE && s->cf->name != nil){
/* clean up */
- if(display==nil || s->f != display->defaultsubfont)
- freesubfont(s->f);
+ freesubfont(s->f);
s->cf = nil;
s->f = nil;
s->age = 0;