projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c54068e
)
Fix missing std_to_wx.
author
Carl Hetherington
<cth@carlh.net>
Wed, 7 Oct 2015 13:48:08 +0000
(14:48 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 9 Oct 2015 12:44:55 +0000
(13:44 +0100)
src/wx/screen_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/screen_dialog.cc
b/src/wx/screen_dialog.cc
index 13dd9f42fbdba4cdc5d49f86a39637a60ac796b9..da813e32a99e5a49dc70228c3939d78c83aee548 100644
(file)
--- 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
()));
}
}