Commit ce92c5fabee80e88f73b5081ffeaa12a391b9030

Werner Lemberg 2012-09-15T10:56:15

* src/autofit/afmodule.c: s/FT_Err_/AF_Err_/.

diff --git a/ChangeLog b/ChangeLog
index d17bcb7..38ee19a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-09-15  Werner Lemberg  <wl@gnu.org>
 
+	* src/autofit/afmodule.c: s/FT_Err_/AF_Err_/.
+
+2012-09-15  Werner Lemberg  <wl@gnu.org>
+
 	[autofit] Make default script a global property.
 
 	* src/autofit/afmodule.h (AF_ModuleRec): Add `default_script' field.
diff --git a/src/autofit/afmodule.c b/src/autofit/afmodule.c
index 2252bc3..f07ed3c 100644
--- a/src/autofit/afmodule.c
+++ b/src/autofit/afmodule.c
@@ -53,7 +53,7 @@
 
     FT_TRACE0(( "af_property_get: missing property `%s'\n",
                 property_name ));
-    return FT_Err_Missing_Property;
+    return AF_Err_Missing_Property;
   }
 
 
@@ -62,7 +62,7 @@
                    const char*  property_name,
                    void*        value )
   {
-    FT_Error  error          = FT_Err_Ok;
+    FT_Error  error          = AF_Err_Ok;
     FT_UInt   default_script = ((AF_Module)module)->default_script;
 
 
@@ -73,7 +73,7 @@
 
 
       if ( !prop->face )
-        return FT_Err_Invalid_Argument;
+        return AF_Err_Invalid_Argument;
 
       globals = (AF_FaceGlobals)prop->face->autohint.data;
       if ( !globals )
@@ -98,7 +98,7 @@
 
     FT_TRACE0(( "af_property_get: missing property `%s'\n",
                 property_name ));
-    return FT_Err_Missing_Property;
+    return AF_Err_Missing_Property;
   }