summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-08-10 19:27:07 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-08-10 19:27:07 +0000
commit7c1e78ca2a881c42b7a440f08428e4138ef192fc (patch)
tree267d986560878c32103d5782d30b0ed356136e8d /protocols/Tox
parent70fa6d15aa408ce82131d9e6c8eb4cc384f8e846 (diff)
small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@10148 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_options.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp
index f6e41bff31..d9779c6dc4 100644
--- a/protocols/Tox/src/tox_options.cpp
+++ b/protocols/Tox/src/tox_options.cpp
@@ -19,7 +19,7 @@ INT_PTR CALLBACK CToxProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam,
if (!dataPath)
{
char defaultPath[MAX_PATH];
- mir_snprintf(defaultPath, MAX_PATH, "%s\\Tox\\%s.dat", VARS("%miranda_userdata%"), _T2A(proto->m_tszUserName));
+ mir_snprintf(defaultPath, MAX_PATH, "%s\\Tox\\%s.tox", VARS("%miranda_userdata%"), _T2A(proto->m_tszUserName));
dataPath = mir_strdup(defaultPath);
}
SetDlgItemTextA(hwnd, IDC_DATAPATH, dataPath);
@@ -82,6 +82,7 @@ INT_PTR CALLBACK CToxProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam,
if (GetOpenFileNameA(&ofn) && dataPath[0])
{
SetDlgItemTextA(hwnd, IDC_DATAPATH, dataPath);
+ SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0);
}
}
break;