diff options
author | Ladislav Zezula <ladislav.zezula@avg.com> | 2013-10-11 15:51:18 +0200 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avg.com> | 2013-10-11 15:51:18 +0200 |
commit | 16f2797b8cadde9446d8c9bd694c265f8a058cda (patch) | |
tree | 3859c6a7aa491e35e18c442d3332edf86b0f8b25 /src/SFilePatchArchives.cpp | |
parent | 450713b69f2c834cff79434ba5ad8133aac1e400 (diff) |
+ Support for SQP files
+ Several checks added (thanks Dmitry "Vortex" Koteroff)
+ Fixed zlib
+ StormLib no longer changes "/" to "\". Hopefully this won't be problem for Linux and Mac people
Diffstat (limited to 'src/SFilePatchArchives.cpp')
-rw-r--r-- | src/SFilePatchArchives.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFilePatchArchives.cpp b/src/SFilePatchArchives.cpp index 8f259f4..bfb4100 100644 --- a/src/SFilePatchArchives.cpp +++ b/src/SFilePatchArchives.cpp @@ -133,7 +133,7 @@ static int LoadMpqPatch_BSD0(TMPQFile * hf, TPatchHeader * pPatchHeader) cbCompressed = pPatchHeader->dwXfrmBlockSize - SIZE_OF_XFRM_HEADER; pbCompressed = STORM_ALLOC(BYTE, cbCompressed); if(pbCompressed == NULL) - nError = ERROR_SUCCESS; + nError = ERROR_NOT_ENOUGH_MEMORY; // Read the compressed patch data if(nError == ERROR_SUCCESS) |