diff options
Diffstat (limited to 'src/sfnt/sfobjs.c')
-rw-r--r-- | src/sfnt/sfobjs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index 30f199103..31b94e6c9 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -199,7 +199,7 @@ sfnt = (SFNT_Interface*)FT_Get_Module_Interface( library, "sfnt" ); if ( !sfnt ) { - error = FT_Err_Invalid_File_Format; + error = TT_Err_Invalid_File_Format; goto Exit; } @@ -328,7 +328,7 @@ { /* return an error if this font file has no outlines */ if ( error == TT_Err_Table_Missing && has_outline ) - error = FT_Err_Ok; + error = TT_Err_Ok; else goto Exit; } |