diff options
Diffstat (limited to 'storm_dll/storm_test.cpp')
-rw-r--r-- | storm_dll/storm_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storm_dll/storm_test.cpp b/storm_dll/storm_test.cpp index 766750b..92ff061 100644 --- a/storm_dll/storm_test.cpp +++ b/storm_dll/storm_test.cpp @@ -31,11 +31,11 @@ int main() DWORD dwBytesRead = 0; if(StormOpenArchive(szArchiveName, 0, 0, &hMpq)) - { + { if(StormOpenFileEx(hMpq, "(1)TheDeathSheep.w3m", 0, &hFile)) { dwBytesRead = StormGetFileSize(hFile, NULL); - StormReadFile(hFile, Buffer, sizeof(Buffer), &dwBytesRead, NULL); + StormReadFile(hFile, Buffer, sizeof(Buffer), &dwBytesRead, NULL); StormCloseFile(hFile); } |