9.04 beta

This commit is contained in:
Igor Pavlov
2009-06-02 00:00:00 +00:00
committed by Kornel Lesiński
parent 8874e4fbc9
commit 829409452d
440 changed files with 19803 additions and 9941 deletions

View File

@@ -104,7 +104,8 @@ void LoadLangs(CObjectVector<CLangEx> &langs)
CLangEx lang;
UString filePath = folderPath + fileInfo.Name;
const int kExtSize = 4;
if (fileInfo.Name.Right(kExtSize) != L".txt")
const UString ext = fileInfo.Name.Right(kExtSize);
if (ext.CompareNoCase(L".txt") != 0)
continue;
lang.ShortName = fileInfo.Name.Left(fileInfo.Name.Length() - kExtSize);
if (lang.Lang.Open(filePath))