From dae0eee5cac2a349102d78f71c03686a83866bb7 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Mon, 24 Jan 2022 17:50:56 +0300 Subject: We do not need to translate account names --- protocols/Tox/src/tox_netlib.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'protocols/Tox/src') diff --git a/protocols/Tox/src/tox_netlib.cpp b/protocols/Tox/src/tox_netlib.cpp index 0ba87ed391..8380334078 100644 --- a/protocols/Tox/src/tox_netlib.cpp +++ b/protocols/Tox/src/tox_netlib.cpp @@ -2,12 +2,9 @@ void CToxProto::InitNetlib() { - wchar_t name[128]; - mir_snwprintf(name, TranslateT("%s connection"), m_tszUserName); - NETLIBUSER nlu = {}; nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; - nlu.szDescriptiveName.w = name; + nlu.szDescriptiveName.w = m_tszUserName; nlu.szSettingsModule = m_szModuleName; m_hNetlibUser = Netlib_RegisterUser(&nlu); -- cgit v1.2.3