mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 03:53:29 +01:00
Windows: always open online help in case of Setup because local help may be outdated
This commit is contained in:
parent
76c64d49ea
commit
937c5cd5cd
@ -11223,8 +11223,14 @@ void Applink (const char *dest)
|
|||||||
|
|
||||||
if (buildUrl)
|
if (buildUrl)
|
||||||
{
|
{
|
||||||
|
// in case of setup, always open the online documentation because existing documentation may be outdated
|
||||||
|
#ifdef SETUP
|
||||||
|
StringCbPrintfW (url, sizeof (url), L"https://www.veracrypt.fr/en/%s", page);
|
||||||
|
buildUrl = FALSE;
|
||||||
|
#else
|
||||||
StringCbPrintfW (url, sizeof (url), L"file:///%sdocs/html/en/%s", installDir, page);
|
StringCbPrintfW (url, sizeof (url), L"file:///%sdocs/html/en/%s", installDir, page);
|
||||||
CorrectURL (url);
|
CorrectURL (url);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsAdmin ())
|
if (IsAdmin ())
|
||||||
|
@ -702,7 +702,7 @@ BOOL CALLBACK PageDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case IDC_DISABLE_MEMORY_PROTECTION_HELP:
|
case IDC_DISABLE_MEMORY_PROTECTION_HELP:
|
||||||
Applink("memoryprotection")
|
Applink("memoryprotection");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case IDC_FILE_TYPE:
|
case IDC_FILE_TYPE:
|
||||||
|
Loading…
Reference in New Issue
Block a user