diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-05-20 14:23:14 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-05-20 14:23:14 +0000 |
commit | bcf367e8b1d813c3a73dd2c8dcac12327d9a3200 (patch) | |
tree | c37e08da9585ecd2e336e043a640c5039ceecca1 /protocols/FacebookRM | |
parent | ee42a5928da2fd537272d25364b5e86e6bbb0a74 (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.cpp | 6 |
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);
|