From 89f5064765bdedd1f3449d3f8d7b96bfe86aa23d Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 14 Mar 2013 17:50:49 +0100 Subject: */*: 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. --- src/otvalid/otvmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/otvalid') 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; -- cgit v1.2.1