diff options
Diffstat (limited to 'shared/shell_execute.h')
-rw-r--r-- | shared/shell_execute.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/shell_execute.h b/shared/shell_execute.h index d3605a09..2cabbed1 100644 --- a/shared/shell_execute.h +++ b/shared/shell_execute.h @@ -70,7 +70,9 @@ void shellExecute(const wxString& command, ExecutionType type = EXEC_TYPE_ASYNC) if (!::ShellExecuteEx(&execInfo)) //__inout LPSHELLEXECUTEINFO lpExecInfo { wxString errorMsg = _("Invalid commandline: \"%x\""); - errorMsg.Replace(L"%x", filename + L" " + arguments); + wxString cmdFmt = wxString(L"\nFile: ") + filename + L"\nArg: " + arguments; + + errorMsg.Replace(L"%x", cmdFmt); wxMessageBox(errorMsg + L"\n\n" + getLastErrorFormatted()); return; } |