Fix Savannah bug #28036.

* src/type1/t1afm.c (t1_get_index): Fix comparison.
This commit is contained in:
Werner Lemberg 2009-11-20 06:26:22 +01:00
parent 0197508440
commit 934d054f45
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-11-20 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #28036.
* src/type1/t1afm.c (t1_get_index): Fix comparison.
2009-11-16 Werner Lemberg <wl@gnu.org>
Fix compiler warnings.

View File

@ -58,7 +58,7 @@
/* PS string/name length must be < 16-bit */
if ( ( len - 0xFFFFU ) > 0 )
if ( len > 0xFFFFU )
return 0;
for ( n = 0; n < type1->num_glyphs; n++ )