[cid] Fix error code.

* src/cid/cidparse.c (cid_parser_new): Do it.
This commit is contained in:
Werner Lemberg 2011-11-26 18:20:24 +01:00
parent d05d56fff0
commit 3630bf7eb5
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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;
}