Fix bug in previous.
authorCarl Hetherington <cth@carlh.net>
Sat, 21 Jun 2014 13:59:20 +0000 (14:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 21 Jun 2014 13:59:20 +0000 (14:59 +0100)
src/wx/screen_dialog.cc

index 7d795ec44ee12e5557502725449014bd3b3fe38b..c6991271675f3321e82886478fbad2a879bff1ea 100644 (file)
@@ -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()));
        }
 }