summaryrefslogtreecommitdiff
path: root/src/wx/export_subtitles_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-09-03 17:02:24 +0200
commit5527bdb269e355ca95aa91fe3907bfef0ef17ff4 (patch)
tree5dd2fc2e81cf193c9712606f43f1e13e1a6e46bf /src/wx/export_subtitles_dialog.cc
parenta27964bd1794bb6a843873a0eaf3faa2c5cc317a (diff)
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/export_subtitles_dialog.cc')
-rw-r--r--src/wx/export_subtitles_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/export_subtitles_dialog.cc b/src/wx/export_subtitles_dialog.cc
index 9baa1396e..312d82882 100644
--- a/src/wx/export_subtitles_dialog.cc
+++ b/src/wx/export_subtitles_dialog.cc
@@ -99,7 +99,7 @@ ExportSubtitlesDialog::path () const
if (_file->IsEnabled()) {
if (auto path = _file->path()) {
wxFileName fn(std_to_wx(path->string()));
- fn.SetExt(_interop ? "xml" : "mxf");
+ fn.SetExt(char_to_wx(_interop ? "xml" : "mxf"));
return wx_to_std(fn.GetFullPath());
}
}