diff options
Diffstat (limited to 'protocols/Tox/src/tox_services.cpp')
-rw-r--r-- | protocols/Tox/src/tox_services.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_services.cpp b/protocols/Tox/src/tox_services.cpp index 5f3db0ac89..532eef79d7 100644 --- a/protocols/Tox/src/tox_services.cpp +++ b/protocols/Tox/src/tox_services.cpp @@ -5,8 +5,7 @@ INT_PTR CToxProto::SetMyNickname(WPARAM wParam, LPARAM lParam) ptrW nickname((wParam & SMNN_UNICODE) ? mir_wstrdup((wchar_t*)lParam) : mir_a2u((char*)lParam));
setWString("Nick", nickname);
- if (IsOnline())
- {
+ if (IsOnline()) {
T2Utf szNick8(nickname);
TOX_ERR_SET_INFO error;
if (!tox_self_set_name(toxThread->Tox(), szNick8, mir_strlen(szNick8), &error))
|