VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ba5f684..aad79d7 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;
}