summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_playlist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/dcpomatic_playlist.cc')
-rw-r--r--src/tools/dcpomatic_playlist.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_playlist.cc b/src/tools/dcpomatic_playlist.cc
index a50fab37d..5900467ef 100644
--- a/src/tools/dcpomatic_playlist.cc
+++ b/src/tools/dcpomatic_playlist.cc
@@ -713,7 +713,7 @@ private:
)
);
} catch (...) {
- error_dialog(nullptr, _("An unknown exception occurred.") + " " + wx::report_problem());
+ error_dialog(nullptr, wxString::Format(_("An unknown exception occurred. %s"), wx::report_problem()));
}
/* This will terminate the program */
@@ -722,7 +722,7 @@ private:
void OnUnhandledException () override
{
- error_dialog(nullptr, _("An unknown exception occurred.") + " " + wx::report_problem());
+ error_dialog(nullptr, wxString::Format(_("An unknown exception occurred. %s"), wx::report_problem()));
}
void idle ()