summaryrefslogtreecommitdiff
path: root/src/otvalid
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2013-03-14 17:50:49 +0100
committerWerner Lemberg <wl@gnu.org>2013-03-14 17:50:49 +0100
commit89f5064765bdedd1f3449d3f8d7b96bfe86aa23d (patch)
tree724ac6feb3fa78f23f524d7c71cf5f91c97f7be1 /src/otvalid
parent52339dc2742dfd2a1e91aeb1067506e4a7311d35 (diff)
downloadfreetype2-89f5064765bdedd1f3449d3f8d7b96bfe86aa23d.tar.gz
*/*: Use FT_ERR_EQ, FT_ERR_NEQ, and FT_ERR where appropriate.
FT_Err_XXX and friends are no longer directly used in the source code.
Diffstat (limited to 'src/otvalid')
-rw-r--r--src/otvalid/otvmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otvalid/otvmod.c b/src/otvalid/otvmod.c
index da42f6068..37c6e869d 100644
--- a/src/otvalid/otvmod.c
+++ b/src/otvalid/otvmod.c
@@ -49,7 +49,7 @@
error = FT_Load_Sfnt_Table( face, tag, 0, NULL, table_len );
- if ( FT_ERROR_BASE( error ) == FT_Err_Table_Missing )
+ if ( FT_ERR_EQ( error, Table_Missing ) )
return FT_Err_Ok;
if ( error )
goto Exit;