diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-08-16 16:02:58 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-08-16 16:02:58 +0000 |
commit | 2e93497d5b19b4fc46f84cb18267bce357e48747 (patch) | |
tree | 32682bcd95fa505aec3e8cf16023e8babfb07829 /protocols/Tox/src/tox_options.cpp | |
parent | 5cbde68cad776dd10e36b72f030712abdf3f225a (diff) |
Tox:
- added netlib logging
- minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@10203 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_options.cpp')
-rw-r--r-- | protocols/Tox/src/tox_options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp index 74463dc454..33d73604c6 100644 --- a/protocols/Tox/src/tox_options.cpp +++ b/protocols/Tox/src/tox_options.cpp @@ -24,7 +24,7 @@ INT_PTR CALLBACK CToxProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, }
SetDlgItemTextA(hwnd, IDC_DATAPATH, dataPath);
- ptrW groupName(proto->getTStringA(TOX_SETTINGS_DEFAULT_GROUP));
+ ptrW groupName(proto->getTStringA(TOX_SETTINGS_GROUP));
SetDlgItemText(hwnd, IDC_GROUP, groupName);
SendDlgItemMessage(hwnd, IDC_GROUP, EM_LIMITTEXT, 64, 0);
@@ -121,11 +121,11 @@ INT_PTR CALLBACK CToxProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, GetDlgItemText(hwnd, IDC_GROUP, groupName, SIZEOF(groupName));
if (lstrlen(groupName) > 0)
{
- proto->setWString(NULL, TOX_SETTINGS_DEFAULT_GROUP, groupName);
+ proto->setWString(NULL, TOX_SETTINGS_GROUP, groupName);
Clist_CreateGroup(0, groupName);
}
else
- proto->delSetting(NULL, TOX_SETTINGS_DEFAULT_GROUP);
+ proto->delSetting(NULL, TOX_SETTINGS_GROUP);
return TRUE;
}
|