Commit 156ba42e4d44b0bf5f92d43c0bc9b46f9cc19c93

Werner Lemberg 2012-09-29T10:08:01

[autofit] Fix thinko. * src/autofit/aftypes.h (AF_SCRIPT): s/AF_SCRIPT_NONE/AF_SCRIPT_DUMMY/. We already use `AF_SCRIPT_NONE' as a bit mask. * src/autofit/afdummy.c: Updated.

diff --git a/ChangeLog b/ChangeLog
index 51fac49..d96c746 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-09-29  Werner Lemberg  <wl@gnu.org>
+
+	[autofit] Fix thinko.
+
+	* src/autofit/aftypes.h (AF_SCRIPT):
+	s/AF_SCRIPT_NONE/AF_SCRIPT_DUMMY/.  We already use `AF_SCRIPT_NONE'
+	as a bit mask.
+
+	* src/autofit/afdummy.c: Updated.
+
 2012-09-18  Werner Lemberg  <wl@gnu.org>
 
 	[autofit] Implement `increase-x-height' property.
diff --git a/src/autofit/afdummy.c b/src/autofit/afdummy.c
index 4bf278c..8dc03e8 100644
--- a/src/autofit/afdummy.c
+++ b/src/autofit/afdummy.c
@@ -44,7 +44,7 @@
 
 
   AF_DEFINE_SCRIPT_CLASS( af_dummy_script_class,
-    AF_SCRIPT_NONE,
+    AF_SCRIPT_DUMMY,
     NULL,
 
     sizeof ( AF_ScriptMetricsRec ),
diff --git a/src/autofit/aftypes.h b/src/autofit/aftypes.h
index 2c938fc..cda05a0 100644
--- a/src/autofit/aftypes.h
+++ b/src/autofit/aftypes.h
@@ -229,7 +229,7 @@ extern void*  _af_debug_hints;
 
   typedef enum  AF_Script_
   {
-    AF_SCRIPT_NONE  = 0,
+    AF_SCRIPT_DUMMY = 0,
     AF_SCRIPT_LATIN = 1,
     AF_SCRIPT_CJK   = 2,
     AF_SCRIPT_INDIC = 3,