diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-12-08 12:23:40 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-12-08 12:24:50 +0100 |
commit | f3d5ed570f9aeae26308f4b5e90813b835fc722e (patch) | |
tree | a6a8ed9efdca5f0e50fa88eda5a928803cd5f353 | |
parent | 700b54aee95dcdfe8ccfbebd85bd5cb24d49c779 (diff) | |
download | VeraCrypt-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).
-rwxr-xr-x | src/Main/GraphicUserInterface.cpp | 8 |
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; } |