summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-03 18:31:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-03 18:31:26 +0000
commitc2a98771e0d195ca4d5be500f4c8ba9fd012d676 (patch)
tree1c99fcc878fbf0c72fa0f4140ad0390cc6d235fe /protocols/IRCG/src
parent5ae20d4da68c98c2a0d851b4b45da9181e61781c (diff)
- settings convertor for Popup+;
- various DBCONTACTENUMSETTINGS initialization garbage git-svn-id: http://svn.miranda-ng.org/main/trunk@5922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r--protocols/IRCG/src/ircproto.cpp4
-rw-r--r--protocols/IRCG/src/options.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp
index 9a5cfe818d..7a7bb4d3db 100644
--- a/protocols/IRCG/src/ircproto.cpp
+++ b/protocols/IRCG/src/ircproto.cpp
@@ -289,9 +289,9 @@ int CIrcProto::OnModulesLoaded( WPARAM, LPARAM )
if ( !getByte( "PerformConversionDone", 0 )) {
OBJLIST<String> performToConvert(10);
- DBCONTACTENUMSETTINGS dbces;
+ DBCONTACTENUMSETTINGS dbces = { 0 };
dbces.pfnEnumProc = sttCheckPerform;
- dbces.lParam = ( LPARAM )&performToConvert;
+ dbces.lParam = (LPARAM)&performToConvert;
dbces.szModule = m_szModuleName;
CallService(MS_DB_CONTACT_ENUMSETTINGS, NULL, (LPARAM)&dbces);
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp
index dc0f491e5e..344df3c89d 100644
--- a/protocols/IRCG/src/options.cpp
+++ b/protocols/IRCG/src/options.cpp
@@ -167,7 +167,7 @@ void RereadServers()
{
g_servers.destroy();
- DBCONTACTENUMSETTINGS dbces;
+ DBCONTACTENUMSETTINGS dbces = { 0 };
dbces.pfnEnumProc = sttServerEnum;
dbces.szModule = SERVERSMODULE;
CallService(MS_DB_CONTACT_ENUMSETTINGS, NULL, (LPARAM)&dbces);