Commit eff1ee3bd3624db2786102a93ca8fe80b34597da

Werner Lemberg 2005-08-31T20:40:00

* src/truetype/ttgload.c (load_truetype_glyph): Fix typo.

diff --git a/ChangeLog b/ChangeLog
index d9d565d..4abf4a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-31  Werner Lemberg  <wl@gnu.org>
+
+	* src/truetype/ttgload.c (load_truetype_glyph): Fix typo.
+
 2005-08-30  Werner Lemberg  <wl@gnu.org>
 
 	* src/gxvalid/README: Revised.
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 9d44790..1c00866 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1212,7 +1212,7 @@
 #endif
 
 
-    if ( recurse_count >= face->max_profile.maxComponentDepth )
+    if ( recurse_count > face->max_profile.maxComponentDepth )
     {
       error = TT_Err_Invalid_Composite;
       goto Exit;