aboutsummaryrefslogtreecommitdiff
path: root/src/SFilePatchArchives.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SFilePatchArchives.cpp')
-rw-r--r--src/SFilePatchArchives.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SFilePatchArchives.cpp b/src/SFilePatchArchives.cpp
index 5d9450d..790b96b 100644
--- a/src/SFilePatchArchives.cpp
+++ b/src/SFilePatchArchives.cpp
@@ -1155,11 +1155,11 @@ bool WINAPI SFileOpenPatchArchive(
}
else
{
- dwErrCode = GetLastError();
+ dwErrCode = SErrGetLastError();
}
}
- SetLastError(dwErrCode);
+ SErrSetLastError(dwErrCode);
return false;
}