summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/deletemodule.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-13 15:19:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-13 15:19:47 +0000
commit7f35b5c32df443cf13dbb476c641e01f30db1d6c (patch)
tree6d8f90bb3e7e3dd41f0fde9e2ac8557a260cb8b4 /plugins/DbEditorPP/src/deletemodule.cpp
parentca03ebb556b09af11c936f1be681323d419efceb (diff)
encrypted settings are not displayed in dbeditor
git-svn-id: http://svn.miranda-ng.org/main/trunk@7631 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP/src/deletemodule.cpp')
-rw-r--r--plugins/DbEditorPP/src/deletemodule.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/DbEditorPP/src/deletemodule.cpp b/plugins/DbEditorPP/src/deletemodule.cpp
index 5ceab04a3f..3026a2523c 100644
--- a/plugins/DbEditorPP/src/deletemodule.cpp
+++ b/plugins/DbEditorPP/src/deletemodule.cpp
@@ -7,7 +7,7 @@ int deleteModule(char* module, HANDLE hContact, int fromMenu)
{
char msg[1024];
ModuleSettingLL settinglist;
- struct ModSetLinkLinkItem *setting;
+ ModSetLinkLinkItem *setting;
if (!module) return 0;
@@ -24,7 +24,7 @@ int deleteModule(char* module, HANDLE hContact, int fromMenu)
while (setting)
{
db_unset(hContact, module, setting->name);
- setting = (struct ModSetLinkLinkItem *)setting->next;
+ setting = setting->next;
}
FreeModuleSettingLL(&settinglist);
return 1;
@@ -34,7 +34,7 @@ void __cdecl PopulateModuleDropListThreadFunc(LPVOID di)
{
HWND hwnd = (HWND)di;
ModuleSettingLL msll;
- struct ModSetLinkLinkItem *module;
+ ModSetLinkLinkItem *module;
int moduleEmpty;
if (!EnumModules(&msll)) DestroyWindow(hwnd);
module = msll.first;
@@ -44,7 +44,7 @@ void __cdecl PopulateModuleDropListThreadFunc(LPVOID di)
if (!IsModuleEmpty(NULL,module->name)) {
SendDlgItemMessage(hwnd,IDC_CONTACTS,CB_ADDSTRING,0,(LPARAM)module->name);
moduleEmpty = 0;
- module = (struct ModSetLinkLinkItem *)module->next;
+ module = module->next;
continue;
}
for (HANDLE hContact = db_find_first();moduleEmpty && hContact;hContact = db_find_next(hContact)) {
@@ -55,7 +55,7 @@ void __cdecl PopulateModuleDropListThreadFunc(LPVOID di)
}
}
- module = (struct ModSetLinkLinkItem *)module->next;
+ module = module->next;
SendDlgItemMessage(hwnd,IDC_CONTACTS,CB_SETCURSEL,0,0);
}
SendDlgItemMessage(hwnd,IDC_CONTACTS,CB_SETCURSEL,0,0);