aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/common/Csv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/CascLib/src/common/Csv.cpp')
-rw-r--r--dep/CascLib/src/common/Csv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/CascLib/src/common/Csv.cpp b/dep/CascLib/src/common/Csv.cpp
index 818973e9603..40a50ec723b 100644
--- a/dep/CascLib/src/common/Csv.cpp
+++ b/dep/CascLib/src/common/Csv.cpp
@@ -203,7 +203,7 @@ DWORD CASC_CSV::Load(LPCTSTR szFileName)
}
else
{
- dwErrCode = GetLastError();
+ dwErrCode = GetCascError();
}
return dwErrCode;