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:
Tino Reichardt
2018-10-25 20:34:16 +02:00
parent f745dfb818
commit cc10eb2d9b
7 changed files with 34 additions and 35 deletions

View File

@@ -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;
}