summaryrefslogtreecommitdiff
path: root/protocols/MRA/Mra_svcs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-05-22 15:33:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-05-22 15:33:45 +0000
commita3e4731995ea87775764f644499c709344c75fef (patch)
treeb957b83654aa94daf63030c853e74e2459af15e3 /protocols/MRA/Mra_svcs.cpp
parent324c182bb9772dec5ed4191b9407b74ddf031c15 (diff)
source code refreshment
git-svn-id: http://svn.miranda-ng.org/main/trunk@130 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/Mra_svcs.cpp')
-rw-r--r--protocols/MRA/Mra_svcs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MRA/Mra_svcs.cpp b/protocols/MRA/Mra_svcs.cpp
index 55621e4bce..6f4e678ce9 100644
--- a/protocols/MRA/Mra_svcs.cpp
+++ b/protocols/MRA/Mra_svcs.cpp
@@ -123,7 +123,7 @@ void UnloadModules()
{
if (masMraSettings.hHookRebuildStatusMenu) {UnhookEvent(masMraSettings.hHookRebuildStatusMenu); masMraSettings.hHookRebuildStatusMenu=NULL;}
- memset(masMraSettings.hXStatusMenuItems, 0, sizeof(masMraSettings.hXStatusMenuItems));
+ bzero(masMraSettings.hXStatusMenuItems,sizeof(masMraSettings.hXStatusMenuItems));
// Service deletion
for(SIZE_T i=0;i<MRA_XSTATUS_COUNT;i++)
{
@@ -135,11 +135,11 @@ void UnloadModules()
// Main menu destroy
CListDestroyMenu(gdiMenuItems,SIZEOF(gdiMenuItems));
- memset(masMraSettings.hMainMenuItems, 0, sizeof(masMraSettings.hMainMenuItems));
+ bzero(masMraSettings.hMainMenuItems,sizeof(masMraSettings.hMainMenuItems));
// Contact menu destroy
CListDestroyMenu(gdiContactMenuItems,(SIZEOF(gdiContactMenuItems) - ((masMraSettings.heNudgeReceived==NULL)? 0:1)));
- memset(masMraSettings.hContactMenuItems, 0, sizeof(masMraSettings.hContactMenuItems));
+ bzero(masMraSettings.hContactMenuItems,sizeof(masMraSettings.hContactMenuItems));
if (masMraSettings.heNudgeReceived) {DestroyHookableEvent(masMraSettings.heNudgeReceived); masMraSettings.heNudgeReceived=NULL;}
if (masMraSettings.hWATrack) {UnhookEvent(masMraSettings.hWATrack); masMraSettings.hWATrack=NULL;}