1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

Fix overload resolution of a call to HelpSystem::ShowHelp...

... formerly wxT("") matched bool, not wxString.  Not what was meant!
This commit is contained in:
Paul Licameli 2017-10-17 20:32:07 -04:00
parent 32e40b3f7f
commit 2d17ddc100

View File

@ -144,7 +144,7 @@ void LinkingHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link)
wxFileName( FileNames::HtmlHelpDir(), href.Mid( 10 ) + wxT(".htm") ).GetFullPath(); wxFileName( FileNames::HtmlHelpDir(), href.Mid( 10 ) + wxT(".htm") ).GetFullPath();
if( wxFileExists( FileName ) ) if( wxFileExists( FileName ) )
{ {
HelpSystem::ShowHelp(this, FileName, wxT("")); HelpSystem::ShowHelp(this, FileName, wxEmptyString);
return; return;
} }
else else