summaryrefslogtreecommitdiff
path: root/plugins/Folders/src/dlg_handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Folders/src/dlg_handlers.cpp')
-rw-r--r--plugins/Folders/src/dlg_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Folders/src/dlg_handlers.cpp b/plugins/Folders/src/dlg_handlers.cpp
index 88f6f4ad63..ac2e06bff3 100644
--- a/plugins/Folders/src/dlg_handlers.cpp
+++ b/plugins/Folders/src/dlg_handlers.cpp
@@ -83,7 +83,7 @@ void LoadRegisteredFolderItems(HWND hWnd)
SendDlgItemMessage(hWnd, IDC_FOLDERS_ITEMS_LIST, LB_RESETCONTENT, 0, 0);
for (int i = 0; i < lstRegisteredFolders.Count(); i++) {
PFolderItem item = lstRegisteredFolders.Get(i + 1);
- if ( !strcmp(buffer, item->GetSection()) == 0) {
+ if ( !strcmp(buffer, item->GetSection())) {
mir_ptr<TCHAR> wide( mir_a2t( item->GetName()));
SendDlgItemMessage(hWnd, IDC_FOLDERS_ITEMS_LIST, LB_ADDSTRING, 0, (LPARAM)TranslateTS(wide));
}