summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_search.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-30 20:55:00 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-30 20:55:00 +0000
commit1a3d8165a7ea32cb104cbcc0509101f809e6e6a0 (patch)
treec319c9b998c04cce0e440898eb065319456599b3 /protocols/Tox/src/tox_search.cpp
parentec0d546b1b38bc4b4383647ee3f9a2f603dfd46e (diff)
Tox: contacts search/add improvements
git-svn-id: http://svn.miranda-ng.org/main/trunk@13914 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_search.cpp')
-rw-r--r--protocols/Tox/src/tox_search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_search.cpp b/protocols/Tox/src/tox_search.cpp
index 7b57f54eb0..10f2fc68f5 100644
--- a/protocols/Tox/src/tox_search.cpp
+++ b/protocols/Tox/src/tox_search.cpp
@@ -129,7 +129,7 @@ void CToxProto::SearchByNameAsync(void *arg)
{
PROTOSEARCHRESULT psr = { sizeof(PROTOSEARCHRESULT) };
psr.flags = PSR_TCHAR;
- psr.id = mir_a2t(address);
+ psr.id = mir_utf8decodeT(address);
psr.nick = mir_utf8decodeT(name);
TCHAR email[MAX_PATH];