summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-25 14:29:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-25 14:29:22 +0000
commit2925e6ef90c51c6252613613b4eabf5474aef76b (patch)
tree4028f8a4a36e6aa7c9896a0138d2a52baf91cac9
parent88f6179361e5b378c2938c77674d28cd1dc9a4ed (diff)
forgotten the old paramter...
git-svn-id: http://svn.miranda-ng.org/main/trunk@8739 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/mir_core/langpack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/langpack.cpp b/src/mir_core/langpack.cpp
index bebe9d6215..6936fbda76 100644
--- a/src/mir_core/langpack.cpp
+++ b/src/mir_core/langpack.cpp
@@ -399,7 +399,7 @@ MIR_CORE_DLL(int) LoadLangPack(const TCHAR *ptszLangPack)
_tcsncpy_s(langPack.tszFileName, SIZEOF(langPack.tszFullPath), (p == NULL) ? tszFullPath : p + 1, _TRUNCATE);
CharLower(langPack.tszFileName);
- FILE *fp = _tfopen(ptszLangPack, _T("rt"));
+ FILE *fp = _tfopen(tszFullPath, _T("rt"));
if (fp == NULL)
return 1;