Fix Savannah bug #28036.
* src/type1/t1afm.c (t1_get_index): Fix comparison.
This commit is contained in:
parent
0197508440
commit
934d054f45
|
@ -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.
|
||||
|
|
|
@ -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++ )
|
||||
|
|
Loading…
Reference in New Issue