From c8db90a9c4dcf30b626861bfe6efeec818a78719 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Tue, 18 Mar 2014 10:53:53 +0100 Subject: + Size check for (attributes) is only performed in StormLib testprogram --- test/Test.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/Test.cpp b/test/Test.cpp index 96fa4f2..ed685a8 100644 --- a/test/Test.cpp +++ b/test/Test.cpp @@ -3472,6 +3472,11 @@ int main(int argc, char * argv[]) printf("==== Test Suite for StormLib version %s ====\n", STORMLIB_VERSION_STRING); nError = InitializeMpqDirectory(argv, argc); + HANDLE hMpq = NULL; + if(SFileOpenArchive(_T("e:\\Ladik\\Incoming\\Castle Defense v7.3 NEWest.w3x"), 0, 0, &hMpq)) + SFileCloseArchive(hMpq); + + // Not a test, but rather a tool for creating links to duplicated files // if(nError == ERROR_SUCCESS) // nError = FindFilePairs(ForEachFile_CreateArchiveLink, "2004 - WoW\\06080", "2004 - WoW\\06299"); -- cgit v1.2.3