summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/langpack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/langpack.cpp b/src/mir_core/langpack.cpp
index d9e7676345..7eb2ad7d9e 100644
--- a/src/mir_core/langpack.cpp
+++ b/src/mir_core/langpack.cpp
@@ -580,12 +580,12 @@ MIR_CORE_DLL(int) LoadLangPackModule(void)
hevChanged = CreateHookableEvent(ME_LANGPACK_CHANGED);
TCHAR szSearch[MAX_PATH];
- PathToAbsoluteT(_T("langpack_*.txt"), szSearch, NULL);
+ PathToAbsoluteT(_T("langpack_*.txt"), szSearch);
WIN32_FIND_DATA fd;
HANDLE hFind = FindFirstFile(szSearch, &fd);
if (hFind != INVALID_HANDLE_VALUE) {
- PathToAbsoluteT(fd.cFileName, szSearch, NULL);
+ PathToAbsoluteT(fd.cFileName, szSearch);
FindClose(hFind);
LoadLangPack(szSearch);
}