diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Folders/src/dlg_handlers.cpp | 2 | ||||
-rw-r--r-- | plugins/Folders/src/services.cpp | 2 |
2 files changed, 2 insertions, 2 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));
}
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)
|