summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/options.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2020-04-04 01:10:57 +0300
committerMataes <mataes2007@gmail.com>2020-04-04 01:10:57 +0300
commit4597ab70beb479202f220f98e2bea95c721d2465 (patch)
tree1d6cf775a47fc9192c75d2c80ee930c269c53ebc /plugins/NewStory/src/options.cpp
parent28108cf449cb49c4f969f615032522badd071734 (diff)
newstory: minor cleanup
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 2a34667121..02a0d013d9 100644
--- a/plugins/NewStory/src/options.cpp
+++ b/plugins/NewStory/src/options.cpp
@@ -20,7 +20,7 @@ static INT_PTR CALLBACK OptTemplatesDlgProc(HWND hwnd, UINT msg, WPARAM wParam,
ImageList_AddIcon(himgTree, g_plugin.getIcon(ICO_TPLGROUP));
for (int i = 0; i < TPL_COUNT; i++) {
- if (!i || lstrcmp(templates[i].group, templates[i - 1].group)) {
+ if (!i || mir_wstrcmp(templates[i].group, templates[i - 1].group)) {
if (hGroup)
TreeView_Expand(GetDlgItem(hwnd, IDC_TEMPLATES), hGroup, TVE_EXPAND);