mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-18 05:58:19 +01:00
Locale & platform problems fixed, regression tests done
This commit is contained in:
@@ -441,7 +441,7 @@ DWORD SFileAddFile_Init(
|
||||
if(dwErrCode == ERROR_SUCCESS)
|
||||
{
|
||||
// Check if the file already exists in the archive
|
||||
pFileEntry = GetFileEntryLocale(ha, szFileName, lcFileLocale, &dwHashIndex);
|
||||
pFileEntry = GetFileEntryExact(ha, szFileName, lcFileLocale, &dwHashIndex);
|
||||
if(pFileEntry != NULL)
|
||||
{
|
||||
if(dwFlags & MPQ_FILE_REPLACEEXISTING)
|
||||
|
||||
Reference in New Issue
Block a user