diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2007-09-04 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:54 +0300 |
commit | b82f80647dd2b3890cdbebfe2aae44f7564baf5a (patch) | |
tree | 043d13c287b1485cc06cd6fb9fd6f8bfd0e061c0 /CPP/7zip/UI/FileManager/LangUtils.cpp | |
parent | 051769bbc577aeede90558b6ab5c9be187940ca0 (diff) |
4.54 beta
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); } } |