- Added textual descriptions of the zlib errors.
SVN r3689 (trunk)
This commit is contained in:
parent
c197d0687c
commit
08272a29ad
6 changed files with 39 additions and 5 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#include "files.h"
|
||||
#include "i_system.h"
|
||||
#include "templates.h"
|
||||
#include "m_misc.h"
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
@ -223,7 +224,7 @@ FileReaderZ::FileReaderZ (FileReader &file, bool zip)
|
|||
|
||||
if (err != Z_OK)
|
||||
{
|
||||
I_Error ("FileReaderZ: inflateInit failed: %d\n", err);
|
||||
I_Error ("FileReaderZ: inflateInit failed: %s\n", M_ZLibError(err));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue