summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/contacts.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-11-17 23:23:53 +0000
committerRobert Pösel <robyer@seznam.cz>2013-11-17 23:23:53 +0000
commitb31c85fadafb41df147ff0c27baa04a23a48a27e (patch)
treed12d7cd770e1d193ed1ed683e36963cfb4abf7e0 /protocols/FacebookRM/src/contacts.cpp
parent96d149d7437f2a8dafcb5fb9fd535f0b2af47c69 (diff)
Facebook: use TCHAR* instead of char* on many places (chat related)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r--protocols/FacebookRM/src/contacts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp
index a2950c07f5..432c00187f 100644
--- a/protocols/FacebookRM/src/contacts.cpp
+++ b/protocols/FacebookRM/src/contacts.cpp
@@ -66,14 +66,14 @@ bool FacebookProto::IsMyContact(HANDLE hContact, bool include_chat)
return false;
}
-HANDLE FacebookProto::ChatIDToHContact(std::string chat_id)
+HANDLE FacebookProto::ChatIDToHContact(std::tstring chat_id)
{
for (HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
if (!IsMyContact(hContact, true))
continue;
- ptrA id(getStringA(hContact, "ChatRoomID"));
- if (id && !strcmp(id, chat_id.c_str()))
+ ptrT id(getTStringA(hContact, "ChatRoomID"));
+ if (id && !_tcscmp(id, chat_id.c_str()))
return hContact;
}