projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a8cd2
)
Capitalise first letter of extended errors for appearance sake.
author
Carl Hetherington
<cth@carlh.net>
Tue, 16 Oct 2018 13:50:11 +0000
(14:50 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 16 Oct 2018 13:50:11 +0000
(14:50 +0100)
src/wx/wx_util.cc
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index 91fd426247a94e40caaa82a547796864706e3c5c..c9185ec973df9565413acc25414b3951bfd01016 100644
(file)
--- a/
src/wx/wx_util.cc
+++ b/
src/wx/wx_util.cc
@@
-130,7
+130,9
@@
error_dialog (wxWindow* parent, wxString m, optional<wxString> e)
{
wxMessageDialog* d = new wxMessageDialog (parent, m, _("DCP-o-matic"), wxOK | wxICON_ERROR);
if (e) {
- d->SetExtendedMessage (*e);
+ wxString em = *e;
+ em[0] = wxToupper (em[0]);
+ d->SetExtendedMessage (em);
}
d->ShowModal ();
d->Destroy ();