VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-12-08 11:23:40 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-12-08 11:24:50 (GMT)
commitf3d5ed570f9aeae26308f4b5e90813b835fc722e (patch)
treea6a8ed9efdca5f0e50fa88eda5a928803cd5f353
parent700b54aee95dcdfe8ccfbebd85bd5cb24d49c779 (diff)
downloadVeraCrypt-f3d5ed570f9aeae26308f4b5e90813b835fc722e.zip
VeraCrypt-f3d5ed570f9aeae26308f4b5e90813b835fc722e.tar.gz
MacOSX: fix issue that prevented some local help files from opening in the browser (e.g Beginner's Tutorial).
-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;
}