Minor: Use `FT_ERR' macro.

This commit is contained in:
Werner Lemberg 2017-01-25 12:53:06 +01:00
parent 983fb0df5a
commit d66c3645fc
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@
/* Skip stem darkening for broken fonts. */
if ( !face->units_per_EM )
{
error = FT_Err_Corrupted_Font_Header;
error = FT_ERR( Corrupted_Font_Header );
goto Exit;
}
@ -130,7 +130,7 @@
&stdVW );
else
{
error = FT_Err_Unimplemented_Feature;
error = FT_ERR( Unimplemented_Feature );
goto Exit;
}