X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.cc;h=c7684d77fbad025a9ac845a0cb9bc0ddd1dd8c8e;hb=c6871fe8617b3de03662b7630355059393bf8043;hp=8bf2d0e419856ddd96096bbb8f2c0c7f16a0bb35;hpb=ad5c8849fc3ef5aad88201f28db5474a60db4436;p=dcpomatic.git diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 8bf2d0e41..c7684d77f 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -45,7 +45,7 @@ column (dcp::Certificate c) class CertificateFileDialogWrapper : public FileDialogWrapper { public: - CertificateFileDialogWrapper (wxWindow* parent) + explicit CertificateFileDialogWrapper (wxWindow* parent) : FileDialogWrapper (parent, _("Select certificate file")) { @@ -155,7 +155,7 @@ ScreenDialog::load_recipient (boost::filesystem::path file) dcp::CertificateChain c (dcp::file_to_string (file)); set_recipient (c.leaf ()); } catch (dcp::MiscError& e) { - error_dialog (this, wxString::Format (_("Could not read certificate file (%s)"), std_to_wx(e.what()).data())); + error_dialog (this, wxString::Format (_("Could not read certificate file.")), std_to_wx(e.what())); } }