summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-23 14:31:38 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-23 14:31:38 +0000
commit9dff6b9a911c6a6b9c2471e49004c9608cddcc77 (patch)
tree655fceb421daacf75792c09aa209e5004070ba56
parent994cd2af5ceae7097665713841b8b4a0930be28b (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15020 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Toaster/src/services.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 180e2ba68b..79e8fba2b0 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -37,8 +37,7 @@ static void ShowToastNotification(TCHAR* text, TCHAR* title, MCONTACT hContact)
eventHandler = new ToastEventHandler(OnToastNotificationClicked, (void*)hContact);
const char* szProto = GetContactProto(hContact);
- PROTO_AVATAR_INFORMATION pai;
- memset(&pai, 0, sizeof(pai));
+ PROTO_AVATAR_INFORMATION pai = { 0 };
pai.hContact = hContact;
if (ProtoServiceExists(szProto, PS_GETAVATARINFO))
{