diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-28 07:55:58 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-28 07:55:58 +0000 |
commit | 4b123a75ad7a9a39be23947b7a2e11ff44b1e975 (patch) | |
tree | 14abe72ac27e0ae441b05f80d65a510fdb7fd664 /protocols/Tox | |
parent | 21e7268a503be780b35e367564d711e79a61dffc (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/Tox')
-rw-r--r-- | protocols/Tox/src/tox_options.cpp | 2 |
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));
|