From 76350d50ef7043a171292d6ec7574ed863af4067 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 26 Jan 2019 15:06:23 +0300 Subject: code cleaning --- protocols/JabberG/src/jabber_userinfo.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/src') 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; } -- cgit v1.2.3