summaryrefslogtreecommitdiff
path: root/src/type42/t42objs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/type42/t42objs.c')
-rw-r--r--src/type42/t42objs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/type42/t42objs.c b/src/type42/t42objs.c
index cb142381b..fd18b255d 100644
--- a/src/type42/t42objs.c
+++ b/src/type42/t42objs.c
@@ -347,8 +347,8 @@
charmap.encoding = FT_ENCODING_UNICODE;
error = FT_CMap_New( cmap_classes->unicode, NULL, &charmap, NULL );
- if ( error &&
- FT_ERROR_BASE( error ) != FT_Err_No_Unicode_Glyph_Name )
+ if ( error &&
+ FT_ERR_NEQ( error, No_Unicode_Glyph_Name ) )
goto Exit;
error = FT_Err_Ok;