diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-13 16:12:52 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-13 16:12:52 +0000 |
commit | 122306cee52b2da3694e3e04ad139fe92def1693 (patch) | |
tree | c5768c1aed3a65f3a74d0db80ffd7e05f5676e11 /protocols/SkypeWeb/src/skype_contacts.cpp | |
parent | fdc5bdfae8a4a70cfd91ec0a8554005a3c0bbae2 (diff) |
SkypeWeb: code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16643 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_contacts.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_contacts.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index afa53243fa..d88603cb6c 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -77,8 +77,7 @@ MCONTACT CSkypeProto::FindContact(const char *skypename) MCONTACT hContact = NULL;
for (hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName))
{
- ptrA cSkypename(getStringA(hContact, SKYPE_SETTINGS_ID));
- if (!mir_strcmpi(skypename, cSkypename))
+ if (!mir_strcmpi(skypename, CID(this, hContact)))
break;
}
return hContact;
|