aboutsummaryrefslogtreecommitdiff
path: root/test/StormTest.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2023-06-08 20:34:17 +0200
committerLadislav Zezula <zezula@volny.cz>2023-06-08 20:34:17 +0200
commit9b4ed3ddbee345d2b43513b97b9afacd6662c6ca (patch)
tree1d9c28b1c3f2e557879f67e2adeda918df4effc4 /test/StormTest.cpp
parentca035eabdd2e641effe0a668c74293e8fb491c3b (diff)
Cosmetics
Diffstat (limited to 'test/StormTest.cpp')
-rwxr-xr-xtest/StormTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp
index 76c4bfd..7574efb 100755
--- a/test/StormTest.cpp
+++ b/test/StormTest.cpp
@@ -2105,7 +2105,7 @@ static DWORD TestOnLocalListFile(LPCTSTR szPlainName)
int nFileCount = 0;
// Get the full name of the local file
- CreateFullPathName(szFileName1, _countof(szFileName1), szMpqSubDir, szPlainName);
+ CreateFullPathName(szFileName1, _countof(szFileName1), szDataFileDir, szPlainName);
// Test opening the local file
if(SFileOpenFileEx(NULL, szFileName1, SFILE_OPEN_LOCAL_FILE, &hFile))
@@ -4286,8 +4286,8 @@ int _tmain(int argc, TCHAR * argv[])
#ifdef TEST_LOCAL_LISTFILE // Tests on a local listfile
if(dwErrCode == ERROR_SUCCESS)
{
- TestOnLocalListFile(_T("FLAT-MAP:ListFile_Blizzard.txt"));
- dwErrCode = TestOnLocalListFile(_T("ListFile_Blizzard.txt"));
+ TestOnLocalListFile(_T("FLAT-MAP:listfile-test.txt"));
+ dwErrCode = TestOnLocalListFile(_T("listfile-test.txt"));
}
#endif // TEST_LOCAL_LISTFILE