*/*: s/Invalid_Argument/Invalid_Outline/ where appropriate.
This commit is contained in:
parent
04edbbda3c
commit
04c2aa18bf
|
@ -1,3 +1,7 @@
|
|||
2014-11-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
*/*: s/Invalid_Argument/Invalid_Outline/ where appropriate.
|
||||
|
||||
2014-11-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
*/*: s/Invalid_Argument/Invalid_Face_Handle/ where appropriate.
|
||||
|
|
|
@ -73,7 +73,10 @@
|
|||
FT_Pos delta;
|
||||
|
||||
|
||||
if ( !outline || !func_interface )
|
||||
if ( !outline )
|
||||
return FT_THROW( Invalid_Outline );
|
||||
|
||||
if ( !func_interface )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
|
||||
shift = func_interface->shift;
|
||||
|
@ -614,7 +617,10 @@
|
|||
if ( !library )
|
||||
return FT_THROW( Invalid_Library_Handle );
|
||||
|
||||
if ( !outline || !params )
|
||||
if ( !outline )
|
||||
return FT_THROW( Invalid_Outline );
|
||||
|
||||
if ( !params )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
|
||||
renderer = library->cur_renderer;
|
||||
|
@ -911,7 +917,7 @@
|
|||
|
||||
|
||||
if ( !outline )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
return FT_THROW( Invalid_Outline );
|
||||
|
||||
xstrength /= 2;
|
||||
ystrength /= 2;
|
||||
|
|
|
@ -2060,7 +2060,10 @@
|
|||
FT_Int tag; /* current point's state */
|
||||
|
||||
|
||||
if ( !outline || !stroker )
|
||||
if ( !outline )
|
||||
return FT_THROW( Invalid_Outline );
|
||||
|
||||
if ( !stroker )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
|
||||
FT_Stroker_Rewind( stroker );
|
||||
|
|
|
@ -1515,7 +1515,10 @@ typedef ptrdiff_t FT_PtrDist;
|
|||
TPos delta;
|
||||
|
||||
|
||||
if ( !outline || !func_interface )
|
||||
if ( !outline )
|
||||
return FT_THROW( Invalid_Outline );
|
||||
|
||||
if ( !func_interface )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
|
||||
shift = func_interface->shift;
|
||||
|
|
Loading…
Reference in New Issue