* src/base/ftoutln.c (FT_Outline_Decompose): Improve error tracing.

This commit is contained in:
Werner Lemberg 2018-04-22 21:15:10 +02:00
parent 3b88576ba0
commit 67697d0076
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2018-04-22 Werner Lemberg <wl@gnu.org>
* src/base/ftoutln.c (FT_Outline_Decompose): Improve error tracing.
2018-04-22 Alexei Podtelezhnikov <apodtele@gmail.com> 2018-04-22 Alexei Podtelezhnikov <apodtele@gmail.com>
[base] Fix bitmap emboldening. [base] Fix bitmap emboldening.

View File

@ -286,12 +286,13 @@
FT_TRACE5(( "FT_Outline_Decompose: Done\n", n )); FT_TRACE5(( "FT_Outline_Decompose: Done\n", n ));
return FT_Err_Ok; return FT_Err_Ok;
Invalid_Outline:
error = FT_THROW( Invalid_Outline );
/* fall through */
Exit: Exit:
FT_TRACE5(( "FT_Outline_Decompose: Error 0x%x\n", error )); FT_TRACE5(( "FT_Outline_Decompose: Error 0x%x\n", error ));
return error; return error;
Invalid_Outline:
return FT_THROW( Invalid_Outline );
} }