diff options
author | Mataes <mataes2007@gmail.com> | 2020-04-04 01:10:57 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2020-04-04 01:10:57 +0300 |
commit | 4597ab70beb479202f220f98e2bea95c721d2465 (patch) | |
tree | 1d6cf775a47fc9192c75d2c80ee930c269c53ebc | |
parent | 28108cf449cb49c4f969f615032522badd071734 (diff) |
newstory: minor cleanup
-rw-r--r-- | plugins/NewStory/src/options.cpp | 2 |
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); |