mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-06 19:58:05 +02:00
*/*: s/Invalid_Argument/Invalid_Stream_Handle/ where appropriate.
This commit is contained in:
parent
f4f9e68800
commit
0d4aa23e7c
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2014-11-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
*/*: s/Invalid_Argument/Invalid_Stream_Handle/ where appropriate.
|
||||
|
||||
2014-11-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
*/*: s/Invalid_Argument/Invalid_Library_Handle/ where appropriate.
|
||||
|
|
|
|||
|
|
@ -728,9 +728,12 @@
|
|||
FT_Byte* cursor;
|
||||
|
||||
|
||||
if ( !fields || !stream )
|
||||
if ( !fields )
|
||||
return FT_THROW( Invalid_Argument );
|
||||
|
||||
if ( !stream )
|
||||
return FT_THROW( Invalid_Stream_Handle );
|
||||
|
||||
cursor = stream->cursor;
|
||||
|
||||
error = FT_Err_Ok;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue