summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-28 07:55:58 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-28 07:55:58 +0000
commit4b123a75ad7a9a39be23947b7a2e11ff44b1e975 (patch)
tree14abe72ac27e0ae441b05f80d65a510fdb7fd664 /protocols
parent21e7268a503be780b35e367564d711e79a61dffc (diff)
Tox: correct nick changing
git-svn-id: http://svn.miranda-ng.org/main/trunk@12282 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Tox/src/tox_options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp
index 2deebd152c..623b05c673 100644
--- a/protocols/Tox/src/tox_options.cpp
+++ b/protocols/Tox/src/tox_options.cpp
@@ -156,7 +156,7 @@ INT_PTR CToxProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
{
TCHAR nick[TOX_MAX_NAME_LENGTH];
GetDlgItemText(hwnd, IDC_NAME, nick, TOX_MAX_NAME_LENGTH);
- proto->setTString("Nick", nick);
+ CallProtoService(proto->m_szModuleName, PS_SETMYNICKNAME, SMNN_TCHAR, (LPARAM)nick);
TCHAR password[MAX_PATH];
GetDlgItemText(hwnd, IDC_PASSWORD, password, SIZEOF(password));