summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-21 14:59:20 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-21 14:59:20 +0100
commit730c3346625d30bc4ff8dc8360a2daa74ac1531c (patch)
treeee7c5d3bfd9223c6b326966f386e55c4edf073a7
parentfaa56e5de2c892ffc1b8360d5f86616b0e348d97 (diff)
Fix bug in previous.
-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 7d795ec44..c69912716 100644
--- a/src/wx/screen_dialog.cc
+++ b/src/wx/screen_dialog.cc
@@ -92,7 +92,7 @@ ScreenDialog::load_certificate (boost::filesystem::path file)
_certificate.reset (new libdcp::Certificate (file));
_certificate_text->SetValue (_certificate->certificate ());
} catch (libdcp::MiscError& e) {
- error_dialog (this, String::compose (_("Could not read certificate file (%1)"), e.what()));
+ error_dialog (this, wxString::Format (_("Could not read certificate file (%s)"), e.what()));
}
}