diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-07 14:55:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-07 14:55:50 +0300 |
commit | a4ecd3ac4b80c77d11f7af8e75983459a5a5fbfd (patch) | |
tree | a3dafa51f366a2fa86c5dc4a352c7bd9baad0c88 /protocols/MSN/src/msn_std.cpp | |
parent | c5e390ac0a27d6ef11728deaeea7a57e00a588ed (diff) |
code cleaning
Diffstat (limited to 'protocols/MSN/src/msn_std.cpp')
-rw-r--r-- | protocols/MSN/src/msn_std.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. /////////////////////////////////////////////////////////////////////////////////////////
// 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) {
|