summaryrefslogtreecommitdiff
path: root/shared/shell_execute.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
commitb654dbfa5f3e4a4d02f72023f7c5895635aa6396 (patch)
tree8c1dfe7f638c0fc7afc1d08bc2fc0fd0f8646e5e /shared/shell_execute.h
parent3.17 (diff)
downloadFreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.gz
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.bz2
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.zip
3.18
Diffstat (limited to 'shared/shell_execute.h')
-rw-r--r--shared/shell_execute.h4
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;
}
bgstack15