Commit ccbdc3c42184db820e8b7bb19608ce3ba297d6de

Werner Lemberg 2013-05-08T09:17:56

* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Typo.

diff --git a/ChangeLog b/ChangeLog
index 51e72ee..adf70d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-08  Werner Lemberg  <wl@gnu.org>
+
+	* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Typo.
+
 2013-05-05  Werner Lemberg  <wl@gnu.org>
 
 	Synchronize `ftconfig.h'.
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index fe2139e..ef0157a 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -743,7 +743,7 @@
 
           if ( delta2 < 32 )
             delta2 = 0;
-          else if ( delta < 48 )
+          else if ( delta2 < 48 )
             delta2 = 32;
           else
             delta2 = 64;