- 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
|
|
@ -54,6 +54,7 @@
|
|||
#include "c_cvars.h"
|
||||
#include "c_dispatch.h"
|
||||
#include "d_player.h"
|
||||
#include "m_misc.h"
|
||||
#include "dobject.h"
|
||||
|
||||
// These are special tokens found in the data stream of an archive.
|
||||
|
|
@ -408,7 +409,7 @@ void FCompressedFile::Explode ()
|
|||
_heapchk();
|
||||
M_Free (expand);
|
||||
_heapchk();
|
||||
I_Error ("Could not decompress cfile");
|
||||
I_Error ("Could not decompress buffer: %s", M_ZLibError(r));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue