ref: b355b5693ab1a7a9c188e38c8fa0d4106ed49f86
parent: 68fe6a9afad5ea2ac61e4f02ed8774603faab7b3
author: Werner Lemberg <[email protected]>
date: Sun Aug 26 10:00:11 EDT 2012
Fix Savannah bug #37178. * src/base/ftobjs.c (FT_Open_Face): Initialize `error' with `FT_Err_Missing_Module' before loop to indicate `no valid drivers'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-26 Werner Lemberg <[email protected]>
+
+ Fix Savannah bug #37178.
+
+ * src/base/ftobjs.c (FT_Open_Face): Initialize `error' with
+ `FT_Err_Missing_Module' before loop to indicate `no valid drivers'.
+
2012-08-17 Werner Lemberg <[email protected]>
* src/base/ftsynth.c (FT_GlyphSlot_Oblique): Fix shear angle.
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -2055,10 +2055,11 @@
}
else
{
+ error = FT_Err_Missing_Module;
+
/* check each font driver for an appropriate format */
cur = library->modules;
limit = cur + library->num_modules;
-
for ( ; cur < limit; cur++ )
{