shithub: freetype+ttf2subf

Download patch

ref: 4e9cc3c4eede8b8cb984cd21307a7b4bf85649e3
parent: d60ae949dbd2f4fc4744c670fb10f320d39311f7
author: David Turner <[email protected]>
date: Thu Nov 9 11:31:52 EST 2006

* src/pshinter/pshalgo.c (psh_glyph_compute_inflections): fixed
        a stupid typo which created a variable-used-before-initialized bug

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-09  David Turner  <[email protected]>
+
+        * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): fixed
+        a stupid typo which created a variable-used-before-initialized bug
+
 2006-11-07  Zhe Su  <[email protected]>
 
 	* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle vertical layout
--- a/src/pshinter/pshalgo.c
+++ b/src/pshinter/pshalgo.c
@@ -1012,7 +1012,7 @@
         in_x = end->org_u - start->org_u;
         in_y = end->org_v - start->org_v;
 
-      } while ( in_x == 0 && out_x == 0 );
+      } while ( in_x == 0 && in_y == 0 );
 
       /* extend the segment start whenever possible */
       before = start;