shithub: freetype+ttf2subf

Download patch

ref: 0a943b63622817b221105c49435dca1b67b6aba6
parent: e5e3556fa28c0ec00ca9260de1552ec4b9c12d55
author: Werner Lemberg <[email protected]>
date: Tue Dec 27 02:50:22 EST 2016

Formatting.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/cid/cidload.c
+++ b/src/cid/cidload.c
@@ -733,11 +733,11 @@
       }
 
       /* we must convert the data section from hexadecimal to binary */
-      if ( FT_ALLOC( face->binary_data, parser->binary_length ) ||
-           ( error = cid_hex_to_binary( face->binary_data,
-                                        parser->binary_length,
-                                        parser->data_offset,
-                                        face ) )                )
+      if ( FT_ALLOC( face->binary_data, parser->binary_length )    ||
+           FT_SET_ERROR( cid_hex_to_binary( face->binary_data,
+                                            parser->binary_length,
+                                            parser->data_offset,
+                                            face ) )               )
         goto Exit;
 
       FT_Stream_OpenMemory( face->cid_stream,