summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_contacts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-08-12 18:56:09 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-08-12 18:56:09 +0000
commite530b1be3a65296d2324b2299897367ee14d4a3d (patch)
tree12a5f019b133bebf61a26f76b4841075f6162ebd /protocols/Tox/src/tox_contacts.cpp
parent9c4e02916ad863a7fdd95d2668f29714997d61c5 (diff)
Tox: contact status message support
git-svn-id: http://svn.miranda-ng.org/main/trunk@14926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_contacts.cpp')
-rw-r--r--protocols/Tox/src/tox_contacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp
index 7540961bae..7ce9442134 100644
--- a/protocols/Tox/src/tox_contacts.cpp
+++ b/protocols/Tox/src/tox_contacts.cpp
@@ -57,7 +57,7 @@ MCONTACT CToxProto::GetContact(const char *pubKey)
{
ptrA contactPubKey(getStringA(hContact, TOX_SETTINGS_ID));
// check only public key part of address
- if (strnicmp(pubKey, contactPubKey, TOX_PUBLIC_KEY_SIZE) == 0)
+ if (mir_strncmpi(pubKey, contactPubKey, TOX_PUBLIC_KEY_SIZE) == 0)
break;
}
return hContact;