- Added textual descriptions of the zlib errors.

SVN r3689 (trunk)
This commit is contained in:
Randy Heit 2012-06-16 03:29:44 +00:00
commit 08272a29ad
6 changed files with 39 additions and 5 deletions

View file

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