From a4ecd3ac4b80c77d11f7af8e75983459a5a5fbfd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Feb 2017 14:55:50 +0300 Subject: code cleaning --- protocols/MSN/src/msn_std.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/MSN/src/msn_std.cpp') diff --git a/protocols/MSN/src/msn_std.cpp b/protocols/MSN/src/msn_std.cpp index ad00cc639e..388050a1ab 100644 --- a/protocols/MSN/src/msn_std.cpp +++ b/protocols/MSN/src/msn_std.cpp @@ -26,17 +26,17 @@ along with this program. If not, see . ///////////////////////////////////////////////////////////////////////////////////////// // Standard functions -int CMsnProto::getStringUtf(MCONTACT hContact, const char* name, DBVARIANT* result) +int CMsnProto::getStringUtf(MCONTACT hContact, const char *name, DBVARIANT *result) { return db_get_utf(hContact, m_szModuleName, name, result); } -int CMsnProto::getStringUtf(const char* name, DBVARIANT* result) +int CMsnProto::getStringUtf(const char *name, DBVARIANT *result) { return db_get_utf(NULL, m_szModuleName, name, result); } -void CMsnProto::setStringUtf(MCONTACT hContact, const char* name, const char* value) +void CMsnProto::setStringUtf(MCONTACT hContact, const char *name, const char *value) { db_set_utf(hContact, m_szModuleName, name, value); } @@ -46,7 +46,7 @@ void CMsnProto::setStringUtf(MCONTACT hContact, const char* name, const char* va wchar_t* CMsnProto::GetContactNameT(MCONTACT hContact) { if (hContact) - return (wchar_t*)pcli->pfnGetContactDisplayName(WPARAM(hContact), 0); + return (wchar_t*)pcli->pfnGetContactDisplayName(hContact, 0); wchar_t *str = Contact_GetInfo(CNF_DISPLAY, NULL, m_szModuleName); if (str != NULL) { -- cgit v1.2.3