summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_events.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-14 19:35:01 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-14 19:35:01 +0000
commit14001c799e72b8eefa523f8ff7ce44c443c78db8 (patch)
treef0c51ccdc39aadc4e6103cef3625a6df34678dc2 /protocols/Tox/src/tox_events.cpp
parente18bb0689bb3ff2bdd622b5feca554d7559ca8e8 (diff)
Tox: now you can add contacts from find/add dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@10183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r--protocols/Tox/src/tox_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp
index 6007530666..8283e80c6a 100644
--- a/protocols/Tox/src/tox_events.cpp
+++ b/protocols/Tox/src/tox_events.cpp
@@ -45,7 +45,7 @@ INT_PTR CToxProto::OnContactDeleted(WPARAM wParam, LPARAM)
MCONTACT hContact = (MCONTACT)wParam;
if (hContact)
{
- std::string toxId(getStringA(hContact, TOX_SETTING_ID));
+ std::string toxId(getStringA(hContact, TOX_SETTINGS_ID));
std::vector<uint8_t> clientId = HexStringToData(toxId);
uint32_t number = tox_get_friend_number(tox, clientId.data());