[cid] Fix error code. * src/cid/cidparse.c (cid_parser_new): Do it.
diff --git a/ChangeLog b/ChangeLog
index 0828da8..e051317 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-11-26 Werner Lemberg <wl@gnu.org>
+ [cid] Fix error code.
+
+ * src/cid/cidparse.c (cid_parser_new): Do it.
+
+2011-11-26 Werner Lemberg <wl@gnu.org>
+
[cff] Fix error code.
* src/cff/cffload.c (cff_font_load): Do it.
diff --git a/src/cid/cidparse.c b/src/cid/cidparse.c
index efed618..db19028 100644
--- 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;
}