aboutsummaryrefslogtreecommitdiff
path: root/freetype/src/base/fttype1.c
diff options
context:
space:
mode:
Diffstat (limited to 'freetype/src/base/fttype1.c')
-rw-r--r--freetype/src/base/fttype1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/freetype/src/base/fttype1.c b/freetype/src/base/fttype1.c
index 733c6936f..db48b135e 100644
--- a/freetype/src/base/fttype1.c
+++ b/freetype/src/base/fttype1.c
@@ -28,7 +28,7 @@
FT_Get_PS_Font_Info( FT_Face face,
PS_FontInfoRec* afont_info )
{
- FT_Error error = FT_Err_Invalid_Argument;
+ FT_Error error = FT_ERR( Invalid_Argument );
if ( face )
@@ -73,7 +73,7 @@
FT_Get_PS_Font_Private( FT_Face face,
PS_PrivateRec* afont_private )
{
- FT_Error error = FT_Err_Invalid_Argument;
+ FT_Error error = FT_ERR( Invalid_Argument );
if ( face )