summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index a4db5fc71..850d1ed8a 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -284,7 +284,7 @@ private:
try {
dcp->add_kdm (dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (d->GetPath ()), MAX_KDM_SIZE)));
} catch (exception& e) {
- error_dialog (this, wxString::Format (_("Could not load KDM (%s)"), e.what ()));
+ error_dialog (this, wxString::Format (_("Could not load KDM (%s)"), std_to_wx(e.what())));
d->Destroy ();
return;
}
@@ -492,7 +492,7 @@ private:
}
catch (exception& e)
{
- error_dialog (0, wxString::Format ("DCP-o-matic Player could not start: %s", e.what ()));
+ error_dialog (0, wxString::Format ("DCP-o-matic Player could not start: %s", std_to_wx(e.what())));
return true;
}