From d66c3645fc7b87f5d02f658d394107221ce01713 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 25 Jan 2017 12:53:06 +0100 Subject: [PATCH] Minor: Use `FT_ERR' macro. --- src/autofit/afloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autofit/afloader.c b/src/autofit/afloader.c index 2ad4963ea..792b3fef7 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; }