summaryrefslogtreecommitdiff
path: root/src/truetype/ttpload.c
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/truetype/ttpload.c
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/truetype/ttpload.c')
-rw-r--r--src/truetype/ttpload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/truetype/ttpload.c b/src/truetype/ttpload.c
index 5ea8f3bda..9723a515b 100644
--- a/src/truetype/ttpload.c
+++ b/src/truetype/ttpload.c
@@ -72,7 +72,7 @@
/* it is possible that a font doesn't have a glyf table at all */
/* or its size is zero */
- if ( FT_ERROR_BASE( error ) == TT_Err_Table_Missing )
+ if ( FT_ERR_EQ( error, Table_Missing ) )
face->glyf_len = 0;
else if ( error )
goto Exit;