* src/sfnt/ttcmap.c (tt_face_build_cmaps): Remove clang warning.

This commit is contained in:
Werner Lemberg 2014-03-09 06:06:58 +01:00
parent ec8853cd18
commit 1a69dc7c16
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-03-09 Sean McBride <sean@rogue-research.com>
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Remove clang warning.
2014-03-06 Werner Lemberg <wl@gnu.org>
* Version 2.5.3 released.

View File

@ -3473,10 +3473,9 @@
/* only recognize format 0 */
if ( TT_NEXT_USHORT( p ) != 0 )
{
p -= 2;
FT_ERROR(( "tt_face_build_cmaps:"
" unsupported `cmap' table format = %d\n",
TT_PEEK_USHORT( p ) ));
TT_PEEK_USHORT( p - 2) ));
return FT_THROW( Invalid_Table );
}