summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 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()));
}
}