From 6fe7a7dfa180fdc5bda36e04e410d974fcc41c17 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 6 Jun 2021 11:53:49 -0400 Subject: [PATCH] Fix case of complete URL with anchor given to HelpSystem::ShowHelp... ... but there were no examples of this anywhere. The assignment to webHelpPage was just overridden a few lines later. --- src/widgets/HelpSystem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/HelpSystem.cpp b/src/widgets/HelpSystem.cpp index 6a91ac4d6..0104ed5aa 100644 --- a/src/widgets/HelpSystem.cpp +++ b/src/widgets/HelpSystem.cpp @@ -362,7 +362,8 @@ void HelpSystem::ShowHelp(wxWindow *parent, else if (releasePageName.StartsWith( "http" ) ) { localHelpPage = ""; - webHelpPage = releasePageName + anchor; + releasePageName += anchor; + // webHelpPath remains empty } else {