VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main')
-rwxr-xr-xsrc/Main/GraphicUserInterface.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp
index ba5f6840..aad79d78 100755
--- a/src/Main/GraphicUserInterface.cpp
+++ b/src/Main/GraphicUserInterface.cpp
@@ -1247,9 +1247,13 @@ namespace VeraCrypt
if (!localFile)
{
htmlPath = L"https://www.veracrypt.fr/en/";
- url.Replace (L" ", L"%20");
- url.Replace (L"'", L"%27");
}
+ else
+ {
+ htmlPath = L"file://" + htmlPath;
+ }
+ url.Replace (L" ", L"%20");
+ url.Replace (L"'", L"%27");
url = htmlPath + url;
}