ref: fbb0773cb12d40f31843e8299760e22118a86dd6
parent: eb624d7c1726a773ffd46238d7acc73f8cb2d9b7
author: Werner Lemberg <[email protected]>
date: Sat Mar 23 10:06:54 EDT 2013
[autofit] Minor. * src/autofit/afmodule.c (af_property_set): Typo. (af_autofitter_init, af_autofitter_done): Use cast.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-03-23 Werner Lemberg <[email protected]>
+
+ [autofit] Minor.
+
+ * src/autofit/afmodule.c (af_property_set): Typo.
+ (af_autofitter_init, af_autofitter_done): Use cast.
+
2013-03-21 Werner Lemberg <[email protected]>
* configure: Automatically test for `gmake' also.
--- a/src/autofit/afmodule.c
+++ b/src/autofit/afmodule.c
@@ -110,7 +110,7 @@
return error;
}
- FT_TRACE0(( "af_property_get: missing property `%s'\n",
+ FT_TRACE0(( "af_property_set: missing property `%s'\n",
property_name ));
return FT_THROW( Missing_Property );
}
@@ -201,8 +201,11 @@
FT_CALLBACK_DEF( FT_Error )
- af_autofitter_init( AF_Module module )
+ af_autofitter_init( FT_Module ft_module ) /* AF_Module */
{
+ AF_Module module = (AF_Module)ft_module;
+
+
module->fallback_script = AF_SCRIPT_FALLBACK;
return af_loader_init( module );
@@ -210,8 +213,11 @@
FT_CALLBACK_DEF( void )
- af_autofitter_done( AF_Module module )
+ af_autofitter_done( FT_Module ft_module ) /* AF_Module */
{
+ AF_Module module = (AF_Module)ft_module;
+
+
af_loader_done( module );
}