* src/cid/cidload.c (cid_face_open): Fix GDBytes guard (#46408).

This commit is contained in:
Werner Lemberg 2015-11-09 21:37:40 +01:00
parent 837285e407
commit 2985e4fa30
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-11-09 Werner Lemberg <wl@gnu.org>
* src/cid/cidload.c (cid_face_open): Fix GDBytes guard (#46408).
2015-11-09 Werner Lemberg <wl@gnu.org>
[truetype] Remove integer to pointer conversion compiler warning.

View File

@ -750,7 +750,7 @@
/* sanity tests */
if ( cid->fd_bytes < 0 || cid->gd_bytes < 0 )
if ( cid->fd_bytes < 0 || cid->gd_bytes < 1 )
{
FT_ERROR(( "cid_parse_dict:"
" Invalid `FDBytes' or `GDBytes' value\n" ));