Commit 0a943b63622817b221105c49435dca1b67b6aba6

Werner Lemberg 2016-12-27T07:50:22

Formatting.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src/cid/cidload.c b/src/cid/cidload.c
index 15d9623..fc2a3cf 100644
--- 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,