Commit 0579d545af5e533b3eb15eff1467ebb1433e345f

Werner Lemberg 2017-12-18T23:45:58

Update incorrect ChangeLog entry.

diff --git a/ChangeLog b/ChangeLog
index da6f77b..080f03e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,11 +16,11 @@
 
 2017-12-18  Matthias Clasen  <matthias.clasen@gmail.com>
 
-	[truetype] Minor code beautification.
+	[truetype] Fix clamping, minor tracing code beautification.
 
 	* src/truetype/ttgxvar.c (ft_var_to_normalized): Trace number of
 	design coordinates.
-	Simplify code.
+	Use clamped value.
 
 2017-12-18  Werner Lemberg  <wl@gnu.org>
 
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 529c35b..8230419 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -1753,7 +1753,7 @@
           a->minimum / 65536.0,
           a->maximum / 65536.0 ));
 
-        if ( coord > a->maximum)
+        if ( coord > a->maximum )
           coord = a->maximum;
         else
           coord = a->minimum;