summaryrefslogtreecommitdiff
path: root/src/core/stdmsg/src/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdmsg/src/globals.cpp')
-rw-r--r--src/core/stdmsg/src/globals.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdmsg/src/globals.cpp b/src/core/stdmsg/src/globals.cpp
index f2033c6e00..62fe7fa5e8 100644
--- a/src/core/stdmsg/src/globals.cpp
+++ b/src/core/stdmsg/src/globals.cpp
@@ -58,17 +58,17 @@ static int OnMetaChanged(WPARAM hMeta, LPARAM)
return 0;
}
-static int dbaddedevent(WPARAM hContact, LPARAM lParam)
+static int dbaddedevent(WPARAM hContact, LPARAM hDbEvent)
{
if (hContact) {
HWND h = WindowList_Find(g_dat.hMessageWindowList, hContact);
if (h)
- SendMessage(h, HM_DBEVENTADDED, hContact, lParam);
+ SendMessage(h, HM_DBEVENTADDED, hContact, hDbEvent);
- MCONTACT hEventContact = db_event_getContact((HANDLE)lParam);
+ MCONTACT hEventContact = db_event_getContact(hDbEvent);
if (hEventContact != hContact)
if ((h = WindowList_Find(g_dat.hMessageWindowList, hEventContact)) != NULL)
- SendMessage(h, HM_DBEVENTADDED, hEventContact, lParam);
+ SendMessage(h, HM_DBEVENTADDED, hEventContact, hDbEvent);
}
return 0;
}