From 419f192d3e4c52ace067722bcfd85904b7c2628b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 4 Jul 2014 15:15:55 +0000 Subject: tabSRMM: - own path service functions replaced with the core ones; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@9675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/chat/options.cpp') diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp index ea72e9cc64..0040e69b2f 100644 --- a/plugins/TabSRMM/src/chat/options.cpp +++ b/plugins/TabSRMM/src/chat/options.cpp @@ -888,7 +888,7 @@ INT_PTR CALLBACK DlgProcOptions2(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lstrcat(tszDirectory, _T("\\")); TCHAR tszTemp[MAX_PATH]; - M.pathToRelative(tszDirectory, tszTemp, const_cast(szUserDir)); + PathToRelativeT(tszDirectory, tszTemp, szUserDir); SetWindowText(GetDlgItem(hwndDlg, IDC_LOGDIRECTORY), lstrlen(tszTemp) > 1 ? tszTemp : DEFLOGFILENAME); } psMalloc->Free(idList); -- cgit v1.2.3