From 12225716d38830a23477b97a6979b6414faeec7b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 16 Mar 2018 21:05:31 +0300 Subject: entities' names to be started with capital letters --- protocols/Tox/src/tox_avatars.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Tox/src/tox_avatars.cpp') diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp index 2e39986fa8..ac818546a4 100644 --- a/protocols/Tox/src/tox_avatars.cpp +++ b/protocols/Tox/src/tox_avatars.cpp @@ -64,7 +64,7 @@ void CToxProto::SetToxAvatar(const wchar_t* path) db_set_blob(NULL, m_szModuleName, TOX_SETTINGS_AVATAR_HASH, (void*)hash, TOX_HASH_LENGTH); if (IsOnline()) { - for (auto &hContact : acc_contact_iter()) { + for (auto &hContact : AccContacts()) { if (GetContactStatus(hContact) == ID_STATUS_OFFLINE) continue; @@ -162,7 +162,7 @@ INT_PTR CToxProto::SetMyAvatar(WPARAM, LPARAM lParam) } if (IsOnline()) { - for (auto &hContact : acc_contact_iter()) { + for (auto &hContact : AccContacts()) { if (GetContactStatus(hContact) == ID_STATUS_OFFLINE) continue; -- cgit v1.2.3