summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Gadu-Gadu/src/dialogs.cpp3
-rw-r--r--protocols/IRCG/src/userinfo.cpp3
-rwxr-xr-xprotocols/JabberG/src/jabber_userinfo.cpp5
-rw-r--r--protocols/Tox/src/tox_contacts.cpp3
4 files changed, 5 insertions, 9 deletions
diff --git a/protocols/Gadu-Gadu/src/dialogs.cpp b/protocols/Gadu-Gadu/src/dialogs.cpp
index 2c622e2551..4302ba3cbd 100644
--- a/protocols/Gadu-Gadu/src/dialogs.cpp
+++ b/protocols/Gadu-Gadu/src/dialogs.cpp
@@ -725,9 +725,8 @@ int GaduProto::options_init(WPARAM wParam, LPARAM)
////////////////////////////////////////////////////////////////////////////////
// Info Page : Init
//
-int GaduProto::details_init(WPARAM wParam, LPARAM lParam)
+int GaduProto::details_init(WPARAM wParam, LPARAM hContact)
{
- MCONTACT hContact = lParam;
char* pszTemplate;
if (hContact == NULL) {
diff --git a/protocols/IRCG/src/userinfo.cpp b/protocols/IRCG/src/userinfo.cpp
index 9a4a9be689..7af720f62c 100644
--- a/protocols/IRCG/src/userinfo.cpp
+++ b/protocols/IRCG/src/userinfo.cpp
@@ -186,9 +186,8 @@ INT_PTR CALLBACK UserDetailsDlgProc(HWND m_hwnd, UINT msg, WPARAM wParam, LPARAM
return FALSE;
}
-int __cdecl CIrcProto::OnInitUserInfo(WPARAM wParam, LPARAM lParam)
+int __cdecl CIrcProto::OnInitUserInfo(WPARAM wParam, LPARAM hContact)
{
- MCONTACT hContact = lParam;
char *szProto = GetContactProto(hContact);
if (!hContact || !szProto || mir_strcmpi(szProto, m_szModuleName))
return 0;
diff --git a/protocols/JabberG/src/jabber_userinfo.cpp b/protocols/JabberG/src/jabber_userinfo.cpp
index 7f8e6cdfa9..deff426e52 100755
--- a/protocols/JabberG/src/jabber_userinfo.cpp
+++ b/protocols/JabberG/src/jabber_userinfo.cpp
@@ -807,15 +807,14 @@ static INT_PTR CALLBACK JabberUserPhotoDlgProc(HWND hwndDlg, UINT msg, WPARAM wP
/////////////////////////////////////////////////////////////////////////////////////////
// OnInfoInit - initializes user info option dialogs
-int CJabberProto::OnUserInfoInit(WPARAM wParam, LPARAM lParam)
+int CJabberProto::OnUserInfoInit(WPARAM wParam, LPARAM hContact)
{
if (!Proto_GetAccount(m_szModuleName))
return 0;
- MCONTACT hContact = lParam;
if (hContact == 0) {
// Show our vcard
- OnUserInfoInit_VCard(wParam, lParam);
+ OnUserInfoInit_VCard(wParam, hContact);
return 0;
}
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) };