* src/pshinter/pshalgo.c (psh_glyph_compute_inflections): fixed a typo which created an endless loop with some malformed font files
diff --git a/ChangeLog b/ChangeLog
index dd291d6..4fe7145 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-10 David Turner <david@freetype.org>
+
+ * src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
+ fixed a typo which created an endless loop with some malformed
+ font files
+
2007-01-10 Derek Clegg <dclegg@apple.com>
* src/type1/t1load.c (T1_Get_MM_Var): Always return fixed point
diff --git a/src/pshinter/pshalgo.c b/src/pshinter/pshalgo.c
index 7d6b2ec..10ae7ef 100644
--- a/src/pshinter/pshalgo.c
+++ b/src/pshinter/pshalgo.c
@@ -1032,7 +1032,7 @@
orient_prev = psh_corner_orientation( in_x, in_y, out_x, out_y );
- } while ( orient_prev != 0 );
+ } while ( orient_prev == 0 );
first = start;
in_x = out_x;