diff options
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r-- | plugins/TabSRMM/src/chat/main.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/chat/options.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp index fe487cf80f..d1cbacdd31 100644 --- a/plugins/TabSRMM/src/chat/main.cpp +++ b/plugins/TabSRMM/src/chat/main.cpp @@ -49,7 +49,7 @@ static void OnAddLog(SESSION_INFO *si, int isOk) static void OnGetLogName(SESSION_INFO *si, LPCTSTR ptszParsedName)
{
- if (!M.pathIsAbsolute(ptszParsedName))
+ if (!PathIsAbsoluteT(ptszParsedName))
mir_sntprintf(si->pszLogFileName, MAX_PATH, _T("%s%s"), M.getChatLogPath(), ptszParsedName);
else
mir_sntprintf(si->pszLogFileName, MAX_PATH, _T("%s"), ptszParsedName);
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<TCHAR *>(szUserDir));
+ PathToRelativeT(tszDirectory, tszTemp, szUserDir);
SetWindowText(GetDlgItem(hwndDlg, IDC_LOGDIRECTORY), lstrlen(tszTemp) > 1 ? tszTemp : DEFLOGFILENAME);
}
psMalloc->Free(idList);
|