diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-01 00:07:01 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-01 00:07:01 +0000 |
commit | b2fad485cd5b41744ef0cc4a02722c021afd926c (patch) | |
tree | aa19403cd699066600e8306be8ad33e4a17fba6f /plugins/TabSRMM/src/themes.h | |
parent | fc62f1f1e1f8af40a1f7efe0ba3afc358fb66ef3 (diff) |
ZeroMemory -> memset, few bugs fised
git-svn-id: http://svn.miranda-ng.org/main/trunk@11184 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/themes.h')
-rw-r--r-- | plugins/TabSRMM/src/themes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/themes.h b/plugins/TabSRMM/src/themes.h index 47ea5dcfcc..573afcf87f 100644 --- a/plugins/TabSRMM/src/themes.h +++ b/plugins/TabSRMM/src/themes.h @@ -88,7 +88,7 @@ class CImageItem public:
CImageItem()
{
- ZeroMemory(this, sizeof(CImageItem));
+ memset(this, 0, sizeof(CImageItem));
}
CImageItem(const CImageItem& From)
{
@@ -97,7 +97,7 @@ public: }
CImageItem(const TCHAR *szName)
{
- ZeroMemory(this, sizeof(CImageItem));
+ memset(this, 0, sizeof(CImageItem));
mir_sntprintf(m_szName, 40, szName);
m_szName[39] = 0;
}
@@ -239,7 +239,7 @@ public: CSkin()
{
- ZeroMemory(this, sizeof(CSkin));
+ memset(this, 0, sizeof(CSkin));
m_default_bf.SourceConstantAlpha = 255;
m_default_bf.AlphaFormat = AC_SRC_ALPHA;
m_default_bf.BlendOp = AC_SRC_OVER;
|