ref: d66c3645fc7b87f5d02f658d394107221ce01713
parent: 983fb0df5a007b088e5aad9dc840210f80fab7fa
author: Werner Lemberg <[email protected]>
date: Wed Jan 25 07:53:06 EST 2017
Minor: Use `FT_ERR' macro.
--- a/src/autofit/afloader.c
+++ b/src/autofit/afloader.c
@@ -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;
}