diff options
Diffstat (limited to 'src')
-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; } |