mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 17:15:00 -06:00
9.04 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
8874e4fbc9
commit
829409452d
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user