fix stupid typo that prevented the truetype loader from working correctly
diff --git a/ChangeLog b/ChangeLog
index b3b4a96..776abf6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-23 David Turner <david@freetype.org>
+
+ * src/truetype/ttgload.c (TT_Load_Simple): fix typo that prevented
+ the truetype loader from loading most glyphs. ooops !
+
2007-06-20 Werner Lemberg <wl@gnu.org>
* src/cff/cffgload.c (cff_slot_load): Fix logic of 2007-05-28
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 540e3aa..a0b5996 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -271,7 +271,7 @@
for ( cont++; cont < cont_limit; cont++ )
{
cont[0] = FT_NEXT_USHORT( p );
- if ( cont[0] > prev_cont )
+ if ( cont[0] <= prev_cont )
{
/* unordered contours: this is invalid */
error = FT_Err_Invalid_Table;