summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/name_format_editor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc
index dbed694ef..67e2517be 100644
--- a/src/wx/name_format_editor.cc
+++ b/src/wx/name_format_editor.cc
@@ -77,9 +77,9 @@ NameFormatEditor::update_example ()
return;
}
- _name.set_specification (careful_string_filter(wx_to_std(_specification->GetValue())));
+ _name.set_specification(wx_to_std(_specification->GetValue()));
- auto example = wxString::Format (_("e.g. %s"), std_to_wx (_name.get (_examples, _suffix)));
+ auto example = wxString::Format(_("e.g. %s"), std_to_wx(careful_string_filter(_name.get(_examples, _suffix))));
wxString wrapped;
for (size_t i = 0; i < example.Length(); ++i) {
if (i > 0 && (i % 40) == 0) {