mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 09:15:00 -06:00
4.31
This commit is contained in:
committed by
Kornel Lesiński
parent
e18587ba51
commit
acac987575
@@ -144,8 +144,12 @@ static bool DoItemAlwaysStart(const UString &name)
|
||||
int extPos = name.ReverseFind('.');
|
||||
if (extPos < 0)
|
||||
return false;
|
||||
const UString ext = name.Mid(extPos + 1);
|
||||
return (ext == UString(L"exe") || ext == UString(L"bat") || ext == UString(L"com"));
|
||||
UString ext = name.Mid(extPos + 1);
|
||||
ext.MakeLower();
|
||||
return (ext == UString(L"exe") ||
|
||||
ext == UString(L"bat") ||
|
||||
ext == UString(L"com") ||
|
||||
ext == UString(L"chm"));
|
||||
}
|
||||
|
||||
static HANDLE StartEditApplication(const UString &path, HWND window)
|
||||
|
||||
Reference in New Issue
Block a user