summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-18 12:49:36 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-18 12:49:36 +0000
commit08ed3a95b4f42079eea4d930af81257564b85b97 (patch)
treeb0fcfff30e9de62a12256373907db3fe83195841 /plugins/TabSRMM
parent00a9149e272b38b002d2a2711c54fab25bcf733f (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/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/chat/chat.h1
-rw-r--r--plugins/TabSRMM/src/chat/manager.cpp8
-rw-r--r--plugins/TabSRMM/src/chat/options.cpp2
3 files changed, 1 insertions, 10 deletions
diff --git a/plugins/TabSRMM/src/chat/chat.h b/plugins/TabSRMM/src/chat/chat.h
index e5d82d1272..211a11e60c 100644
--- a/plugins/TabSRMM/src/chat/chat.h
+++ b/plugins/TabSRMM/src/chat/chat.h
@@ -155,7 +155,6 @@ SESSION_INFO* SM_FindSessionAutoComplete(const char* pszModule, SESSION_INFO* cu
void SM_RemoveContainer(TContainerData *pContainer);
BOOL SM_ReconfigureFilters();
-BOOL SM_InvalidateLogDirectories();
//clist.c
diff --git a/plugins/TabSRMM/src/chat/manager.cpp b/plugins/TabSRMM/src/chat/manager.cpp
index b14d53dbbf..d58f487c7d 100644
--- a/plugins/TabSRMM/src/chat/manager.cpp
+++ b/plugins/TabSRMM/src/chat/manager.cpp
@@ -44,14 +44,6 @@ BOOL SM_ReconfigureFilters()
return TRUE;
}
-BOOL SM_InvalidateLogDirectories()
-{
- for (SESSION_INFO *si = pci->wndList; si; si = si->next)
- si->pszLogFileName[0] = si->pszLogFileName[1] = 0;
-
- return TRUE;
-}
-
SESSION_INFO* SM_FindSessionByHWND(HWND hWnd)
{
for (SESSION_INFO *si = pci->wndList; si; si = si->next)
diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp
index 5b9a0dda05..6d5e71af6b 100644
--- a/plugins/TabSRMM/src/chat/options.cpp
+++ b/plugins/TabSRMM/src/chat/options.cpp
@@ -932,7 +932,7 @@ INT_PTR CALLBACK DlgProcOptions2(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
db_unset(NULL, "Chat", "LogDirectory");
db_set_b(0, "Chat", "LoggingEnabled", 0);
}
- SM_InvalidateLogDirectories();
+ pci->SM_InvalidateLogDirectories();
iLen = SendDlgItemMessage(hwndDlg, IDC_CHAT_SPIN4, UDM_GETPOS, 0, 0);
db_set_w(NULL, "Chat", "LoggingLimit", (WORD)iLen);