diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-02 16:08:16 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-02 16:08:16 +0000 |
commit | 089e7f228a5d22219ddb059674809c47769d5e53 (patch) | |
tree | 40986759192a2e405fb881388ae2ab6e7f377125 /plugins/Toaster/src/images.h | |
parent | 62713cf3eece92588464ce06810146f5c5cece8e (diff) |
Toaster: coverity fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15488 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/images.h')
-rw-r--r-- | plugins/Toaster/src/images.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Toaster/src/images.h b/plugins/Toaster/src/images.h index 320a368769..01b05720d1 100644 --- a/plugins/Toaster/src/images.h +++ b/plugins/Toaster/src/images.h @@ -6,7 +6,7 @@ class ToasterImage ptrT tszId;
public:
- __inline explicit ToasterImage(HICON hIcon) : tszId(CMString(FORMAT, _T("%p"), hIcon).Detach())
+ __inline explicit ToasterImage(HICON hIcon) : _hBitmap(NULL), tszId(CMString(FORMAT, _T("%p"), hIcon).Detach())
{
ICONINFO icon = { 0 };
if (GetIconInfo(hIcon, &icon))
@@ -20,7 +20,7 @@ public: {
}
- __inline explicit ToasterImage(const char *szProto) : tszId(mir_a2t(szProto))
+ __inline explicit ToasterImage(const char *szProto) : _hBitmap(NULL), tszId(mir_a2t(szProto))
{
ICONINFO icon = { 0 };
if (GetIconInfo(Skin_LoadProtoIcon(szProto, ID_STATUS_ONLINE, 1), &icon))
|