*/*: s/Invalid_Argument/Invalid_Library_Handle/ where appropriate.
This commit is contained in:
parent
04c2aa18bf
commit
f4f9e68800
@ -1,3 +1,7 @@
|
||||
2014-11-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
*/*: s/Invalid_Argument/Invalid_Library_Handle/ where appropriate.
|
||||
|
||||
2014-11-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
*/*: s/Invalid_Argument/Invalid_Outline/ where appropriate.
|
||||
|
@ -289,7 +289,10 @@
|
||||
FT_Library_SetLcdFilterWeights( FT_Library library,
|
||||
unsigned char *weights )
|
||||
{
|
||||
if ( !library || !weights )
|
||||
if ( !library )
|
||||
return FT_THROW( Invalid_Library_Handle );
|
||||
|
||||
if ( !weights )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
|
||||
ft_memcpy( library->lcd_weights, weights, 5 );
|
||||
@ -311,7 +314,7 @@
|
||||
|
||||
|
||||
if ( !library )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
return FT_THROW( Invalid_Library_Handle );
|
||||
|
||||
switch ( filter )
|
||||
{
|
||||
|
@ -795,7 +795,7 @@
|
||||
|
||||
|
||||
if ( !library )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
return FT_THROW( Invalid_Library_Handle );
|
||||
|
||||
memory = library->memory;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user