summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/svc_refreshci.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-05-21 20:28:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-05-21 20:28:02 +0000
commitc4ba8af1dbc6a50001bb5a720c1e5018b18ffd1c (patch)
tree5a5231657ab93a0397cd97041b7ac3aa6d4873ee /plugins/UserInfoEx/svc_refreshci.cpp
parent39473dbc26de132931a909b1563b808f53bb51de (diff)
fix for non-zeroed structures
git-svn-id: http://svn.miranda-ng.org/main/trunk@123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/svc_refreshci.cpp')
-rw-r--r--plugins/UserInfoEx/svc_refreshci.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/svc_refreshci.cpp b/plugins/UserInfoEx/svc_refreshci.cpp
index f091a5635b..fa3b00a584 100644
--- a/plugins/UserInfoEx/svc_refreshci.cpp
+++ b/plugins/UserInfoEx/svc_refreshci.cpp
@@ -922,15 +922,12 @@ static INT OnPreShutdown(WPARAM, LPARAM)
**/
VOID SvcRefreshContactInfoLoadModule(VOID)
{
- HOTKEYDESC hk;
-
myCreateServiceFunction(MS_USERINFO_REFRESH, RefreshService);
HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
HookEvent(ME_DB_CONTACT_ADDED, OnContactAdded);
+ HOTKEYDESC hk = { 0 };
hk.cbSize = sizeof(HOTKEYDESC);
- hk.lParam = NULL;
- hk.DefHotKey = NULL;
hk.pszSection = MODNAME;
hk.pszName = "RefreshContactDetails";
hk.pszDescription = LPGEN("Refresh Contact Details");