From 2671bc88f72cf0c76f3d0a8a301e3e78a3567a34 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Aug 2012 12:45:52 +0000 Subject: fix for options git-svn-id: http://svn.miranda-ng.org/main/trunk@1390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Folders/src/dlg_handlers.cpp | 2 +- plugins/Folders/src/services.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Folders') 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 wide( mir_a2t( item->GetName())); SendDlgItemMessage(hWnd, IDC_FOLDERS_ITEMS_LIST, LB_ADDSTRING, 0, (LPARAM)TranslateTS(wide)); } diff --git a/plugins/Folders/src/services.cpp b/plugins/Folders/src/services.cpp index d62272301b..4ec1733b79 100644 --- a/plugins/Folders/src/services.cpp +++ b/plugins/Folders/src/services.cpp @@ -84,7 +84,7 @@ INT_PTR GetPathSizeService(WPARAM wParam, LPARAM lParam) INT_PTR GetPathService(WPARAM wParam, LPARAM lParam) { FOLDERSGETDATA* data = (FOLDERSGETDATA *) lParam; - if (data->cbSize != sizeof(FOLDERSGETDATA)) + if (data->cbSize != sizeof (FOLDERSGETDATA)) return 1; if (data->flags & FF_UNICODE) -- cgit v1.2.3