diff options
author | Werner Lemberg <wl@gnu.org> | 2013-03-14 17:50:49 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2013-03-14 17:50:49 +0100 |
commit | 89f5064765bdedd1f3449d3f8d7b96bfe86aa23d (patch) | |
tree | 724ac6feb3fa78f23f524d7c71cf5f91c97f7be1 /src/base/ftadvanc.c | |
parent | 52339dc2742dfd2a1e91aeb1067506e4a7311d35 (diff) | |
download | freetype2-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/base/ftadvanc.c')
-rw-r--r-- | src/base/ftadvanc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/ftadvanc.c b/src/base/ftadvanc.c index 880830a0a..52078478d 100644 --- a/src/base/ftadvanc.c +++ b/src/base/ftadvanc.c @@ -93,7 +93,7 @@ if ( !error ) return _ft_face_scale_advances( face, padvance, 1, flags ); - if ( error != FT_ERROR_BASE( FT_Err_Unimplemented_Feature ) ) + if ( FT_ERR_NEQ( error, Unimplemented_Feature ) ) return error; } @@ -133,7 +133,7 @@ if ( !error ) return _ft_face_scale_advances( face, padvances, count, flags ); - if ( error != FT_ERROR_BASE( FT_Err_Unimplemented_Feature ) ) + if ( FT_ERR_NEQ( error, Unimplemented_Feature ) ) return error; } |