From d48575ee3a2b04f75a92f4f4b79f977490fb6ac4 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 18 Sep 2002 23:18:36 +0000 Subject: [PATCH] * src/base/ftobjs.c (FT_Library_Version): bugfix --- ChangeLog | 8 +++++++- src/base/ftobjs.c | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5785a8a0b..e90677391 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-09-18 David Turner + + * src/base/ftobjs.c (FT_Library_Version): bugfix + + * FreeType 2.1.3rc2 (release candidate 2) is released !! + 2002-09-17 David Turner * include/freetype/freetype.h, include/freetype/ftimage.h, @@ -74,7 +80,7 @@ * include/freetype/ftimage.h: Removed incorrect "zft_" definitions and updated constants documentation comments. - * src/cff/cffparse.c (cff_parser_run): Fixed the CFF table loader. + * src/cff/cffparse.c (cff_parser_run): Fixed the CFF table loader. It didn't accept empty arrays, and this prevented the loading of certain fonts. diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index dce684795..545c403a9 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -2420,13 +2420,13 @@ patch = library->version_patch; } - if ( *amajor ) + if ( amajor ) *amajor = major; - if ( *aminor ) + if ( aminor ) *aminor = minor; - if ( *apatch ) + if ( apatch ) *apatch = patch; }