mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 19:14:56 -06:00
Version number fixes
- About Dialog shows v1.3.6 instead of v1.3.7 - added 7-Zip ZS Homepage to About Dialog - also some headers needed to be fixed
This commit is contained in:
@@ -17,7 +17,8 @@ static const UInt32 kLangIDs[] =
|
||||
IDT_ABOUT_INFO
|
||||
};
|
||||
|
||||
#define kHomePageURL TEXT("http://www.7-zip.org/")
|
||||
#define kHomePageURL TEXT("http://www.7-zip.org/")
|
||||
#define kHomePageURL2 TEXT("http://github.com/mcmilk/7-Zip-zstd/")
|
||||
#define kHelpTopic "start.htm"
|
||||
|
||||
#define LLL_(quote) L##quote
|
||||
@@ -45,19 +46,16 @@ bool CAboutDialog::OnButtonClicked(int buttonID, HWND buttonHWND)
|
||||
switch (buttonID)
|
||||
{
|
||||
case IDB_ABOUT_HOMEPAGE: url = kHomePageURL; break;
|
||||
case IDB_ABOUT_HOMEPAGE2: url = kHomePageURL2; break;
|
||||
default:
|
||||
return CModalDialog::OnButtonClicked(buttonID, buttonHWND);
|
||||
}
|
||||
|
||||
#ifdef UNDER_CE
|
||||
SHELLEXECUTEINFO s;
|
||||
memset(&s, 0, sizeof(s));
|
||||
s.cbSize = sizeof(s);
|
||||
s.lpFile = url;
|
||||
::ShellExecuteEx(&s);
|
||||
#else
|
||||
::ShellExecute(NULL, NULL, url, NULL, NULL, SW_SHOWNORMAL);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user