From 67697d0076cbd2e59ee22c665b2ee792ef5b54ae Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 22 Apr 2018 21:15:10 +0200 Subject: [PATCH] * src/base/ftoutln.c (FT_Outline_Decompose): Improve error tracing. --- ChangeLog | 4 ++++ src/base/ftoutln.c | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 24acb8f31..690d07426 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-04-22 Werner Lemberg + + * src/base/ftoutln.c (FT_Outline_Decompose): Improve error tracing. + 2018-04-22 Alexei Podtelezhnikov [base] Fix bitmap emboldening. diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c index 9c29ade92..cb91321de 100644 --- a/src/base/ftoutln.c +++ b/src/base/ftoutln.c @@ -286,12 +286,13 @@ FT_TRACE5(( "FT_Outline_Decompose: Done\n", n )); return FT_Err_Ok; + Invalid_Outline: + error = FT_THROW( Invalid_Outline ); + /* fall through */ + Exit: FT_TRACE5(( "FT_Outline_Decompose: Error 0x%x\n", error )); return error; - - Invalid_Outline: - return FT_THROW( Invalid_Outline ); }