mirror of https://github.com/odrling/Aegisub
THOU SHALT NOT PASS CLASSETH AS VARARGS
Originally committed to SVN as r238.
This commit is contained in:
parent
ef057630d7
commit
bc28f47f1c
|
@ -183,7 +183,7 @@ void DialogAutomationManager::OnAdd(wxCommandEvent &event)
|
|||
wxMessageBox(wxString::Format(_T("Error loading Automation script '%s':\r\n\r\n%s"), sfnames.c_str(), err.message.c_str()), _T("Error loading Automation script"), wxOK | wxICON_ERROR, this);
|
||||
}
|
||||
catch (wxString &err) {
|
||||
wxMessageBox(wxString::Format(_T("Error loading Automation script %s:\r\n\r\n%s"), sfnames.c_str(), err), _T("Error loading Automation script"), wxOK|wxICON_ERROR, this);
|
||||
wxMessageBox(wxString::Format(_T("Error loading Automation script %s:\r\n\r\n%s"), sfnames.c_str(), err.c_str()), _T("Error loading Automation script"), wxOK|wxICON_ERROR, this);
|
||||
}
|
||||
catch (wchar_t *err) {
|
||||
wxMessageBox(wxString::Format(_T("Error loading Automation script %s:\r\n\r\n%s"), sfnames.c_str(), err), _T("Error loading Automation script"), wxOK|wxICON_ERROR, this);
|
||||
|
|
Loading…
Reference in New Issue