commit | 5d664b6d5188625d0585086020e99e6223c2afb1 | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Sat Dec 17 20:47:42 2016 +0100 |
committer | Werner Lemberg <wl@gnu.org> | Sat Dec 17 20:47:42 2016 +0100 |
tree | 2e71710439dacf2b9dc91cade7f0a972bb8639af | |
parent | db17ceb4c0a9acb307c033fb766c8f35ac9e007f [diff] [blame] |
Use FT_SET_ERROR where useful. Other minor code formatting.
diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c index e919136..f54df22 100644 --- a/src/bdf/bdflib.c +++ b/src/bdf/bdflib.c
@@ -2301,7 +2301,7 @@ p->font->comments[p->font->comments_len] = 0; } } - else if ( error == FT_Err_Ok ) + else if ( !error ) error = FT_THROW( Invalid_File_Format ); *font = p->font;