diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-18 12:49:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-18 12:49:36 +0000 |
commit | 08ed3a95b4f42079eea4d930af81257564b85b97 (patch) | |
tree | b0fcfff30e9de62a12256373907db3fe83195841 /plugins/Scriver | |
parent | 00a9149e272b38b002d2a2711c54fab25bcf733f (diff) |
fix for editing log path in StdChat & Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@7717 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver')
-rw-r--r-- | plugins/Scriver/src/chat/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/chat/options.cpp b/plugins/Scriver/src/chat/options.cpp index 00b1593e80..0ba390c71b 100644 --- a/plugins/Scriver/src/chat/options.cpp +++ b/plugins/Scriver/src/chat/options.cpp @@ -539,13 +539,13 @@ INT_PTR CALLBACK DlgProcOptions2(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lPa TCHAR *pszText1 = (TCHAR *)malloc(iLen*sizeof(TCHAR)+2);
GetDlgItemText(hwndDlg, IDC_CHAT_LOGDIRECTORY, pszText1, iLen + 1);
db_set_ts(NULL, "Chat", "LogDirectory", pszText1);
- PathToAbsoluteT(pszText1, g_Settings.pszLogDir);
free(pszText1);
}
else {
lstrcpyn(g_Settings.pszLogDir, DEFLOGFILENAME, MAX_PATH);
db_unset(NULL, "Chat", "LogDirectory");
}
+ pci->SM_InvalidateLogDirectories();
iLen = GetWindowTextLength(GetDlgItem(hwndDlg, IDC_CHAT_LOGTIMESTAMP));
if (iLen > 0) {
|