Correctly escape the error log messages in the wxWebView sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
538f284a44
commit
f9a786f870
@ -803,7 +803,7 @@ void WebFrame::OnError(wxWebViewEvent& evt)
|
||||
break;
|
||||
}
|
||||
|
||||
wxLogMessage("Error; url='" + evt.GetURL() + "', error='" + errorCategory + "' (" + evt.GetString() + ")");
|
||||
wxLogMessage("%s", "Error; url='" + evt.GetURL() + "', error='" + errorCategory + "' (" + evt.GetString() + ")");
|
||||
|
||||
//Show the info bar with an error
|
||||
m_info->ShowMessage(_("An error occurred loading ") + evt.GetURL() + "\n" +
|
||||
|
Loading…
Reference in New Issue
Block a user