summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/name_format_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc
index 160a554c0..309e04c60 100644
--- a/src/wx/name_format_editor.cc
+++ b/src/wx/name_format_editor.cc
@@ -64,7 +64,7 @@ NameFormatEditor::update_example ()
{
_name.set_specification (wx_to_std (_specification->GetValue ()));
- wxString example = wxString::Format (_("e.g. %s"), _name.get (_examples, _suffix));
+ wxString example = wxString::Format (_("e.g. %s"), std_to_wx (_name.get (_examples, _suffix)));
wxString wrapped;
for (size_t i = 0; i < example.Length(); ++i) {
if (i > 0 && (i % 40) == 0) {