summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/options.cpp')
-rw-r--r--plugins/NewStory/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/options.cpp b/plugins/NewStory/src/options.cpp
index 2d5f355e1b..ee84cd1b79 100644
--- a/plugins/NewStory/src/options.cpp
+++ b/plugins/NewStory/src/options.cpp
@@ -83,7 +83,7 @@ class CTemplateOptsDlg : public CBaseOptsDlg
item.hEvent = m_hDbEVent;
item.load(true);
- CMStringW wszText(TplFormatStringEx(int(m_curr - templates), m_curr->tmpValue, &item));
+ CMStringW wszText(item.formatStringEx(int(m_curr - templates), m_curr->tmpValue));
preview.SetText(wszText);
gpreview.SetText(wszText);
}