summaryrefslogtreecommitdiff
path: root/src/base/ftoutln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/ftoutln.c')
-rw-r--r--src/base/ftoutln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c
index 826a7e2ea..54ca5cdcf 100644
--- a/src/base/ftoutln.c
+++ b/src/base/ftoutln.c
@@ -620,11 +620,11 @@
params->source = (void*)outline;
- error = FT_Err_Cannot_Render_Glyph;
+ error = FT_ERR( Cannot_Render_Glyph );
while ( renderer )
{
error = renderer->raster_render( renderer->raster, params );
- if ( !error || FT_ERROR_BASE( error ) != FT_Err_Cannot_Render_Glyph )
+ if ( !error || FT_ERR_NEQ( error, Cannot_Render_Glyph ) )
break;
/* FT_Err_Cannot_Render_Glyph is returned if the render mode */