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