Fix Savannah bug #37000.

* src/type1/t1load.c (parse_encoding): Fix order of checks.
This commit is contained in:
Werner Lemberg 2012-07-31 20:17:13 +02:00
parent 5987445073
commit 5cdeb3cd60
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-07-31 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #37000.
* src/type1/t1load.c (parse_encoding): Fix order of checks.
2012-07-17 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #36833.

View File

@ -1284,7 +1284,7 @@
cur = parser->root.cursor;
if ( *cur == '/' && cur + 2 < limit && n < count )
if ( cur + 2 < limit && *cur == '/' && n < count )
{
FT_PtrDist len;