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 /plugins/Folders/src/dlg_handlers.cpp | |
parent | 52a0c6e6efb7014b87552097c13ceea6175ce377 (diff) |
fix for options
git-svn-id: http://svn.miranda-ng.org/main/trunk@1390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/src/dlg_handlers.cpp')
-rw-r--r-- | plugins/Folders/src/dlg_handlers.cpp | 2 |
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));
}
|