VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-09-24 01:41:35 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-09-24 01:41:35 +0200
commit937c5cd5cd57893e85601b472e7d6cfd5ffdc6ab (patch)
treefc7ad410e8e660a8eebb9eda662d838fdfa5b555 /src/Common
parent76c64d49ea96719bf1a5d185053619001b0aa533 (diff)
downloadVeraCrypt-937c5cd5cd57893e85601b472e7d6cfd5ffdc6ab.tar.gz
VeraCrypt-937c5cd5cd57893e85601b472e7d6cfd5ffdc6ab.zip
Windows: always open online help in case of Setup because local help may be outdated
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Dlgcode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index a81dc984..d9bb776e 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -11223,8 +11223,14 @@ void Applink (const char *dest)
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);
CorrectURL (url);
+#endif
}
if (IsAdmin ())