From 7f35b5c32df443cf13dbb476c641e01f30db1d6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Jan 2014 15:19:47 +0000 Subject: encrypted settings are not displayed in dbeditor git-svn-id: http://svn.miranda-ng.org/main/trunk@7631 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/copymodule.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'plugins/DbEditorPP/src/copymodule.cpp') diff --git a/plugins/DbEditorPP/src/copymodule.cpp b/plugins/DbEditorPP/src/copymodule.cpp index 9a9772edb4..e3884fb123 100644 --- a/plugins/DbEditorPP/src/copymodule.cpp +++ b/plugins/DbEditorPP/src/copymodule.cpp @@ -3,12 +3,11 @@ void copyModule(char* module, HANDLE hContactFrom, HANDLE hContactTo) { ModuleSettingLL msll; - struct ModSetLinkLinkItem *setting; - EnumSettings(hContactFrom,module, &msll); + EnumSettings(hContactFrom, module, &msll); - setting = msll.first; - while(setting) { + ModSetLinkLinkItem *setting = msll.first; + while (setting) { DBVARIANT dbv; if (!GetSetting(hContactFrom, module, setting->name, &dbv)) { switch (dbv.type) { @@ -33,7 +32,7 @@ void copyModule(char* module, HANDLE hContactFrom, HANDLE hContactTo) } } db_free(&dbv); - setting = (struct ModSetLinkLinkItem *)setting->next; + setting = setting->next; } FreeModuleSettingLL(&msll); } -- cgit v1.2.3