From 02b8e7e8d751605b133568b86fbb5dff48b6b5a5 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 25 Nov 2014 11:31:51 +0100 Subject: [PATCH] */*: s/Invalid_Argument/Invalid_Size_Handle/ where appropriate. --- ChangeLog | 4 ++++ src/autofit/afloader.c | 2 +- src/base/ftobjs.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ed3ac466a..f0e7d7ee6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-11-25 Werner Lemberg + + */*: s/Invalid_Argument/Invalid_Size_Handle/ where appropriate. + 2014-11-25 Werner Lemberg */*: s/Invalid_Argument/Invalid_Stream_Handle/ where appropriate. diff --git a/src/autofit/afloader.c b/src/autofit/afloader.c index b8a88f1a5..fb15c87f0 100644 --- a/src/autofit/afloader.c +++ b/src/autofit/afloader.c @@ -508,7 +508,7 @@ if ( !size ) - return FT_THROW( Invalid_Argument ); + return FT_THROW( Invalid_Size_Handle ); FT_ZERO( &scaler ); diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index b73957b2a..fe49dd847 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -3751,7 +3751,7 @@ if ( !size ) - return FT_THROW( Invalid_Argument ); + return FT_THROW( Invalid_Size_Handle ); face = size->face; if ( !face || !face->driver )