diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-07 12:45:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-07 12:45:52 +0000 |
commit | 2671bc88f72cf0c76f3d0a8a301e3e78a3567a34 (patch) | |
tree | c08cf14ab165f5f456a56b5aee27eab0d2ffeccb | |
parent | 52a0c6e6efb7014b87552097c13ceea6175ce377 (diff) |
fix for options
git-svn-id: http://svn.miranda-ng.org/main/trunk@1390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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)
|