summaryrefslogtreecommitdiff
path: root/src/wx/report_problem_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-09 02:02:20 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:59:25 +0200
commit203ee8d5dcb58a3acb79780afb95c5251d8e4311 (patch)
treec29be253617a3884570b50cd6f074e00fc5163dc /src/wx/report_problem_dialog.cc
parent199f9e9026861d1a104f2b24371ddbb94f0e8169 (diff)
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/report_problem_dialog.cc')
-rw-r--r--src/wx/report_problem_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/report_problem_dialog.cc b/src/wx/report_problem_dialog.cc
index 4d8df87ef..701f9dc21 100644
--- a/src/wx/report_problem_dialog.cc
+++ b/src/wx/report_problem_dialog.cc
@@ -117,7 +117,7 @@ ReportProblemDialog::report ()
return;
}
- if (_email->GetValue() == "carl@dcpomatic.com" || _email->GetValue() == "cth@carlh.net") {
+ if (_email->GetValue() == char_to_wx("carl@dcpomatic.com") || _email->GetValue() == char_to_wx("cth@carlh.net")) {
error_dialog (this, wxString::Format(_("Enter your email address for the contact, not %s"), _email->GetValue().data()));
return;
}