diff options
Diffstat (limited to 'CPP/7zip/UI/FileManager/LangUtils.cpp')
-rwxr-xr-x | CPP/7zip/UI/FileManager/LangUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/7zip/UI/FileManager/LangUtils.cpp b/CPP/7zip/UI/FileManager/LangUtils.cpp index f41e764e..bf75df00 100755 --- a/CPP/7zip/UI/FileManager/LangUtils.cpp +++ b/CPP/7zip/UI/FileManager/LangUtils.cpp @@ -35,7 +35,7 @@ void ReloadLang() if (GetProgramFolderPath(folderPath)) langPath = folderPath + UString(L"Lang\\") + langPath; } - g_Lang.Open(GetSystemString(langPath)); + g_Lang.Open(langPath); } } @@ -107,7 +107,7 @@ void LoadLangs(CObjectVector<CLangEx> &langs) if (fileInfo.Name.Right(kExtSize) != L".txt") continue; lang.ShortName = fileInfo.Name.Left(fileInfo.Name.Length() - kExtSize); - if (lang.Lang.Open(GetSystemString(filePath))) + if (lang.Lang.Open(filePath)) langs.Add(lang); } } |