summaryrefslogtreecommitdiff
path: root/src/sfnt
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfnt')
-rw-r--r--src/sfnt/sfobjs.c4
-rw-r--r--src/sfnt/ttload.c2
2 files changed, 3 insertions, 3 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;
}
diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c
index baf35be13..9ef433c90 100644
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -262,7 +262,7 @@
entry_selector * 2 <= num_tables )
{
FT_TRACE2(( "TT_Load_SFNT_Header: file is not SFNT!\n" ));
- error = FT_Err_Unknown_File_Format;
+ error = TT_Err_Unknown_File_Format;
}
}