X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=src%2Ffcfreetype.c;h=87f3b999e2a663ea947066e76f80120b41893de2;hb=2f02e38361b24032945e24f7f8480999bf9df1e2;hp=5d852a508bf210ceaf12f9a3a9bac469cd4ce721;hpb=a56e89ab4f21aa6288345c63d2c43e55561632e0;p=fontconfig.git diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 5d852a5..87f3b99 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -2797,13 +2797,10 @@ GetScriptTags(FT_Face face, FT_ULong tabletag, FT_ULong **stags, FT_UShort *scri cur_offset = ftglue_stream_pos( stream ); - if (( error = ftglue_stream_seek( stream, new_offset ) )) - goto Fail; + error = ftglue_stream_seek( stream, new_offset ); if ( error == TT_Err_Ok ) p++; - else if ( error != TTO_Err_Empty_Script ) - goto Fail; (void)ftglue_stream_seek( stream, cur_offset ); }