summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-20 14:23:14 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-20 14:23:14 +0000
commitbcf367e8b1d813c3a73dd2c8dcac12327d9a3200 (patch)
treec37e08da9585ecd2e336e043a640c5039ceecca1 /protocols/FacebookRM
parentee42a5928da2fd537272d25364b5e86e6bbb0a74 (diff)
Facebook: cleaner fix, thanks to dominus.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4767 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/events.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/events.cpp b/protocols/FacebookRM/src/events.cpp
index 19d30003ae..14596477d7 100644
--- a/protocols/FacebookRM/src/events.cpp
+++ b/protocols/FacebookRM/src/events.cpp
@@ -144,7 +144,7 @@ void FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, HANDLE contact, DWORD
{
if (ServiceExists(MS_POPUP_ADDPOPUP))
{
- POPUPDATAT pd;
+ POPUPDATAT pd = {0};
pd.colorBack = colorBack;
pd.colorText = colorText;
pd.iSeconds = timeout;
@@ -157,8 +157,8 @@ void FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, HANDLE contact, DWORD
if (notification_id != NULL)
data->notification_id = *notification_id;
pd.PluginData = data;
- } else
- pd.PluginData = NULL;
+ }
+
pd.PluginWindowProc = (WNDPROC)PopupDlgProc;
lstrcpy(pd.lptzContactName, title);
lstrcpy(pd.lptzText, info);