diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-22 15:33:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-22 15:33:45 +0000 |
commit | a3e4731995ea87775764f644499c709344c75fef (patch) | |
tree | b957b83654aa94daf63030c853e74e2459af15e3 /protocols/MRA/MraIcons.cpp | |
parent | 324c182bb9772dec5ed4191b9407b74ddf031c15 (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/MraIcons.cpp')
-rw-r--r-- | protocols/MRA/MraIcons.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/MRA/MraIcons.cpp b/protocols/MRA/MraIcons.cpp index 18b8f8c5f5..f910f6adc5 100644 --- a/protocols/MRA/MraIcons.cpp +++ b/protocols/MRA/MraIcons.cpp @@ -81,15 +81,15 @@ void IconsLoad() void IconsUnLoad()
{
RemoveIcoLibItems(gdiMenuItems,SIZEOF(gdiMenuItems));
- memset(masMraSettings.hMainMenuIcons, 0, sizeof(masMraSettings.hMainMenuIcons));
+ bzero(masMraSettings.hMainMenuIcons,sizeof(masMraSettings.hMainMenuIcons));
RemoveIcoLibItems(gdiContactMenuItems,SIZEOF(gdiContactMenuItems));
- memset(masMraSettings.hContactMenuIcons, 0, sizeof(masMraSettings.hContactMenuIcons));
+ bzero(masMraSettings.hContactMenuIcons,sizeof(masMraSettings.hContactMenuIcons));
// Advanced Status Icons initialization
RemoveIcoLibItems(gdiExtraStatusIconsItems,SIZEOF(gdiExtraStatusIconsItems));
- memset(masMraSettings.hAdvancedStatusIcons, 0, sizeof(masMraSettings.hAdvancedStatusIcons));
- memset(masMraSettings.hAdvancedStatusItems,0, sizeof(masMraSettings.hAdvancedStatusItems));
+ bzero(masMraSettings.hAdvancedStatusIcons,sizeof(masMraSettings.hAdvancedStatusIcons));
+ bzero(masMraSettings.hAdvancedStatusItems,sizeof(masMraSettings.hAdvancedStatusItems));
}
@@ -112,7 +112,7 @@ void InitXStatusIcons() {
GetModuleFileName(masMraSettings.hDLLXStatusIcons,wszPath,SIZEOF(wszPath));
}else{
- memset(wszPath, 0, sizeof(wszPath));
+ bzero(wszPath,sizeof(wszPath));
}
mir_sntprintf(wszSection,SIZEOF(wszSection),L"Status Icons/%s/Custom Status",PROTOCOL_NAMEW);
@@ -144,8 +144,8 @@ void DestroyXStatusIcons() //***deb until 08 release
//CallService(MS_SKIN2_REMOVEICON,0,(LPARAM)szBuff);
}
- memset(masMraSettings.hXStatusAdvancedStatusIcons, 0, sizeof(masMraSettings.hXStatusAdvancedStatusIcons));
- memset(masMraSettings.hXStatusAdvancedStatusItems, 0, sizeof(masMraSettings.hXStatusAdvancedStatusItems));
+ bzero(masMraSettings.hXStatusAdvancedStatusIcons,sizeof(masMraSettings.hXStatusAdvancedStatusIcons));
+ bzero(masMraSettings.hXStatusAdvancedStatusItems,sizeof(masMraSettings.hXStatusAdvancedStatusItems));
}
|