From f3d5ed570f9aeae26308f4b5e90813b835fc722e Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 8 Dec 2017 12:23:40 +0100 Subject: MacOSX: fix issue that prevented some local help files from opening in the browser (e.g Beginner's Tutorial). --- src/Main/GraphicUserInterface.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Main') 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; } -- cgit v1.2.3