ref: 3630bf7eb59d28172cd0472f43d7cad847fc9f46
parent: d05d56fff069ed5d3e9c41bb9fb8508ed9e8f218
author: Werner Lemberg <[email protected]>
date: Sat Nov 26 13:20:24 EST 2011
[cid] Fix error code. * src/cid/cidparse.c (cid_parser_new): Do it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-11-26 Werner Lemberg <[email protected]>
+ [cid] Fix error code.
+
+ * src/cid/cidparse.c (cid_parser_new): Do it.
+
+2011-11-26 Werner Lemberg <[email protected]>
+
[cff] Fix error code.
* src/cff/cffload.c (cff_font_load): Do it.
--- a/src/cid/cidparse.c
+++ b/src/cid/cidparse.c
@@ -99,7 +99,7 @@
if ( stream_len == 0 )
{
FT_TRACE2(( "cid_parser_new: no `StartData' keyword found\n" ));
- error = CID_Err_Unknown_File_Format;
+ error = CID_Err_Invalid_File_Format;
goto Exit;
}