aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/CascIndexFiles.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-06-19 19:58:31 +0200
committerShauren <shauren.trinity@gmail.com>2019-06-19 19:58:31 +0200
commit658a79d94add4f9d639b959b6ac7b57a6a0a30ca (patch)
tree23ce72f38f46ad8789b8a8e9201caeae15761478 /dep/CascLib/src/CascIndexFiles.cpp
parentd11b9a6992b9e46cc880f4c8b085479009acfaab (diff)
Dep/CascLib: Update to ladislav-zezula/CascLib@c588b7bf538a010fd3376c90bd3a59f2142f05be
Diffstat (limited to 'dep/CascLib/src/CascIndexFiles.cpp')
-rw-r--r--dep/CascLib/src/CascIndexFiles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/CascLib/src/CascIndexFiles.cpp b/dep/CascLib/src/CascIndexFiles.cpp
index c54c874ec8c..ed680f4c4d9 100644
--- a/dep/CascLib/src/CascIndexFiles.cpp
+++ b/dep/CascLib/src/CascIndexFiles.cpp
@@ -522,7 +522,7 @@ static int LoadLocalIndexFiles(TCascStorage * hs)
if((szFileName = CreateIndexFileName(hs, i, IndexArray[i])) != NULL)
{
// Inform the user about what we are doing
- if(hs->PfnCallback && hs->PfnCallback(hs->PtrCallbackParam, "Loading index files", NULL, i, CASC_INDEX_COUNT))
+ if(InvokeProgressCallback(hs, "Loading index files", NULL, i, CASC_INDEX_COUNT))
{
nError = ERROR_CANCELLED;
break;
@@ -727,7 +727,7 @@ static int LoadArchiveIndexFiles(TCascStorage * hs)
LPBYTE pbIndexHash = hs->ArchivesKey.pbData + (i * MD5_HASH_SIZE);
// Inform the user about what we are doing
- if(hs->PfnCallback && hs->PfnCallback(hs->PtrCallbackParam, "Downloading archive indexes", NULL, (DWORD)(i), (DWORD)(nArchiveCount)))
+ if(InvokeProgressCallback(hs, "Downloading archive indexes", NULL, (DWORD)(i), (DWORD)(nArchiveCount)))
{
nError = ERROR_CANCELLED;
break;