X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.cc;h=da813e32a99e5a49dc70228c3939d78c83aee548;hb=147a09e0b354a341b21a139437df2fa3cb02f3af;hp=13dd9f42fbdba4cdc5d49f86a39637a60ac796b9;hpb=c54068e8dfbd8d1d1f4b4e91d03274e2b25a4626;p=dcpomatic.git 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())); } }