summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_search.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-02-25 14:58:44 +0300
committeraunsane <aunsane@gmail.com>2017-02-25 18:14:45 +0300
commitc8711bcc5e14c970439e208ee5c05b420bf14259 (patch)
treed797f520e4ecd9162e6892657bac68a7237f106f /protocols/Tox/src/tox_search.cpp
parent13fe5269a7cfe355a832ff36b09ca918fb46add3 (diff)
Tox: fixed friend add
Diffstat (limited to 'protocols/Tox/src/tox_search.cpp')
-rw-r--r--protocols/Tox/src/tox_search.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_search.cpp b/protocols/Tox/src/tox_search.cpp
index d2afffc717..41c63b85a1 100644
--- a/protocols/Tox/src/tox_search.cpp
+++ b/protocols/Tox/src/tox_search.cpp
@@ -232,6 +232,7 @@ HWND CToxProto::OnSearchAdvanced(HWND owner)
std::string address = match[1];
PROTOSEARCHRESULT psr = { sizeof(psr) };
+ psr.flags = PSR_UTF8;
psr.id.a = mir_strdup(query.c_str());
ADDCONTACTSTRUCT acs = { HANDLE_SEARCHRESULT };