don't Printf() the string into itself (replaces patch 1655318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2747,8 +2747,8 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName,
|
||||
|
||||
if ( data.needsterminal )
|
||||
{
|
||||
data.cmdOpen.Printf(wxT("xterm -e sh -c '%s'"),
|
||||
data.cmdOpen.c_str());
|
||||
data.cmdOpen.insert(0, wxT("xterm -e sh -c '"));
|
||||
data.cmdOpen.append(wxT("'"));
|
||||
}
|
||||
|
||||
if ( !data.cmdOpen.empty() )
|
||||
|
Reference in New Issue
Block a user