From 851688057dddd793bd29c0f750f837a242eca76c Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 13 Feb 2000 13:38:27 +0000 Subject: [PATCH] small bug fix used to compile when the SFNT module doesn't support embedded bitmaps and postscript names.. --- src/truetype/ttobjs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index 0d616ebec..6c60d4843 100644 --- a/src/truetype/ttobjs.c +++ b/src/truetype/ttobjs.c @@ -363,11 +363,11 @@ if (sfnt) { /* destroy the postscript names table if it is supported */ - if (sfnt->load_psnames) + if (sfnt->free_psnames) sfnt->free_psnames( face ); /* destroy the embedded bitmaps table if it is supported */ - if (sfnt->load_sbits) + if (sfnt->free_sbits) sfnt->free_sbits( face ); }