summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-07 14:48:08 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-09 13:44:55 +0100
commit147a09e0b354a341b21a139437df2fa3cb02f3af (patch)
treefa7e0262df8181c426add627557c5fff94451bfe /src
parentc54068e8dfbd8d1d1f4b4e91d03274e2b25a4626 (diff)
Fix missing std_to_wx.
Diffstat (limited to 'src')
-rw-r--r--src/wx/screen_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc
index 13dd9f42f..da813e32a 100644
--- a/src/wx/screen_dialog.cc
+++ b/src/wx/screen_dialog.cc
@@ -93,7 +93,7 @@ ScreenDialog::load_certificate (boost::filesystem::path file)
_certificate = dcp::Certificate (dcp::file_to_string (file));
_certificate_text->SetValue (_certificate->certificate ());
} catch (dcp::MiscError& e) {
- error_dialog (this, wxString::Format (_("Could not read certificate file (%s)"), e.what()));
+ error_dialog (this, wxString::Format (_("Could not read certificate file (%s)"), std_to_wx(e.what()).data()));
}
}