another 2.4 compatiblity fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -401,7 +401,9 @@ void zlibStream::doDecompress_ExternalData(const unsigned char *data, const char
|
|||||||
{
|
{
|
||||||
case wxZLIB_NO_HEADER:
|
case wxZLIB_NO_HEADER:
|
||||||
break;
|
break;
|
||||||
|
#if WXWIN_COMPATIBILITY_2_4
|
||||||
case wxZLIB_24COMPATIBLE:
|
case wxZLIB_24COMPATIBLE:
|
||||||
|
#endif
|
||||||
case wxZLIB_ZLIB:
|
case wxZLIB_ZLIB:
|
||||||
if (!(data_size >= 1 && data[0] == 0x78))
|
if (!(data_size >= 1 && data[0] == 0x78))
|
||||||
wxLogError(_T("zlib data seems to not be zlib data!"));
|
wxLogError(_T("zlib data seems to not be zlib data!"));
|
||||||
|
Reference in New Issue
Block a user