summaryrefslogtreecommitdiff
path: root/protocols/Tox/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-26 15:06:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-26 15:06:23 +0300
commit76350d50ef7043a171292d6ec7574ed863af4067 (patch)
tree97d563f4f0ec945e068eef1183c2c7c83aafdf39 /protocols/Tox/src
parent2e2483f97aac9b7b3d6819f434377c093d96e764 (diff)
code cleaning
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r--protocols/Tox/src/tox_contacts.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp
index 3e3bfdfade..082c6c9019 100644
--- a/protocols/Tox/src/tox_contacts.cpp
+++ b/protocols/Tox/src/tox_contacts.cpp
@@ -344,12 +344,11 @@ void CToxProto::OnConnectionStatusChanged(Tox *tox, uint32_t friendNumber, TOX_C
}
}
-int CToxProto::OnUserInfoInit(WPARAM wParam, LPARAM lParam)
+int CToxProto::OnUserInfoInit(WPARAM wParam, LPARAM hContact)
{
if (!Proto_IsProtocolLoaded(m_szModuleName))
return 0;
- MCONTACT hContact = lParam;
char *szProto = GetContactProto(hContact);
if (szProto != nullptr && !mir_strcmp(szProto, m_szModuleName)) {
OPTIONSDIALOGPAGE odp = { sizeof(odp) };