mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-05 05:28:00 +02:00
small bug fix used to compile when the SFNT
module doesn't support embedded bitmaps and postscript names..
This commit is contained in:
parent
7663f22288
commit
851688057d
1 changed files with 2 additions and 2 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue