* src/autofit/afmodule.c: s/FT_Err_/AF_Err_/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
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;
}