diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-31 01:12:11 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-31 01:12:11 +0000 |
| commit | 1bf2e9e23295d23c42c80132b9637e98c0c5c3f5 (patch) | |
| tree | 53b75b22d3c57c5717482fe9788100004a7d9059 /src | |
| parent | 8d106854e6ae33f97e758217b3eaeee3ab2ff8b0 (diff) | |
A couple of missing std_to_wx calls.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 4 |
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; } |
