From 4597ab70beb479202f220f98e2bea95c721d2465 Mon Sep 17 00:00:00 2001 From: Mataes Date: Sat, 4 Apr 2020 01:10:57 +0300 Subject: newstory: minor cleanup --- plugins/NewStory/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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); -- cgit v1.2.3