summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_instances.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-26 15:19:17 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-26 15:19:17 +0000
commit30b3cd352057c79cf26e1ce73a8c6554cbb4b7be (patch)
treeb6d9b287c6b547e68a18bba25d243b3d8c252d72 /protocols/Skype/src/skype_instances.cpp
parent0fdbd8fce63637a7abf746942060f858b225af7d (diff)
cleanup project
git-svn-id: http://svn.miranda-ng.org/main/trunk@4534 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_instances.cpp')
-rw-r--r--protocols/Skype/src/skype_instances.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_instances.cpp b/protocols/Skype/src/skype_instances.cpp
index 996c588164..138d241e77 100644
--- a/protocols/Skype/src/skype_instances.cpp
+++ b/protocols/Skype/src/skype_instances.cpp
@@ -2,6 +2,11 @@
LIST<CSkypeProto> CSkypeProto::instanceList(1, CSkypeProto::CompareProtos);
+int CSkypeProto::CompareProtos(const CSkypeProto *p1, const CSkypeProto *p2)
+{
+ return wcscmp(p1->m_tszUserName, p2->m_tszUserName);
+}
+
CSkypeProto* CSkypeProto::InitSkypeProto(const char* protoName, const wchar_t* userName)
{
if (CSkypeProto::instanceList.getCount() > 0)