summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_userinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_userinfo.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_userinfo.cpp5
1 files changed, 2 insertions, 3 deletions
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;
}