summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/events.cpp')
-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);