Fix Savannah bug #37000.
* src/type1/t1load.c (parse_encoding): Fix order of checks.
This commit is contained in:
parent
5987445073
commit
5cdeb3cd60
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue