Commit d66c3645fc7b87f5d02f658d394107221ce01713

Werner Lemberg 2017-01-25T12:53:06

Minor: Use `FT_ERR' macro.

diff --git a/src/autofit/afloader.c b/src/autofit/afloader.c
index 2ad4963..792b3fe 100644
--- 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;
     }