diff options
Diffstat (limited to 'src/SFileOpenFileEx.cpp')
| -rw-r--r-- | src/SFileOpenFileEx.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileOpenFileEx.cpp b/src/SFileOpenFileEx.cpp index 5b7933a..1e02a22 100644 --- a/src/SFileOpenFileEx.cpp +++ b/src/SFileOpenFileEx.cpp @@ -263,7 +263,7 @@ bool WINAPI SFileOpenFileEx(HANDLE hMpq, const char * szFileName, DWORD dwSearch                  // If this MPQ has no patches, open the file from this MPQ directly                  if(ha->haPatch == NULL || dwSearchScope == SFILE_OPEN_BASE_FILE)                  { -                    pFileEntry = GetFileEntryLocale2(ha, szFileName, lcFileLocale, &dwHashIndex); +                    pFileEntry = GetFileEntryLocale2(ha, szFileName, g_lcFileLocale, &dwHashIndex);                  }                  // If this MPQ is a patched archive, open the file as patched  | 
