shithub: freetype+ttf2subf

Download patch

ref: cc7cf2c3d04a9ea9959c0cd37cb4275e67a5d7a8
parent: 87628724a9a5d4e1caf5574a2a32f0c205445770
author: Werner Lemberg <[email protected]>
date: Wed Mar 19 03:35:35 EDT 2014

Partially revert last commit.

Found by Alexei.

* src/autofit/aflatin.c (af_latin_metrics_init_blues): Initializing
those variables is plain wrong, since we are in a loop.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-03-19  Werner Lemberg  <[email protected]>
+
+	Partially revert last commit.
+
+	Found by Alexei.
+
+	* src/autofit/aflatin.c (af_latin_metrics_init_blues): Initializing
+	those variables is plain wrong, since we are in a loop.
+
 2014-03-18  Sean McBride  <[email protected]>
 	    Werner Lemberg  <[email protected]>
 
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -552,8 +552,8 @@
               {
                 FT_Bool  l2r;
                 FT_Pos   d;
-                FT_Int   p_first = 0; /* pacify clang compiler */
-                FT_Int   p_last  = 0;
+                FT_Int   p_first;
+                FT_Int   p_last;
 
 
                 if ( !hit )