From 2e93497d5b19b4fc46f84cb18267bce357e48747 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 16 Aug 2014 16:02:58 +0000 Subject: Tox: - added netlib logging - minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@10203 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Tox/src/tox_options.cpp') 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; } -- cgit v1.2.3