From f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Nov 2016 22:24:00 +0300 Subject: PathToRelativeT - forgotten macro --- plugins/TabSRMM/src/chat/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/chat') diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp index f5e487e4d9..4c919e984f 100644 --- a/plugins/TabSRMM/src/chat/options.cpp +++ b/plugins/TabSRMM/src/chat/options.cpp @@ -798,7 +798,7 @@ INT_PTR CALLBACK DlgProcOptions2(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM mir_wstrcat(tszDirectory, L"\\"); wchar_t tszTemp[MAX_PATH]; - PathToRelativeT(tszDirectory, tszTemp, szUserDir); + PathToRelativeW(tszDirectory, tszTemp, szUserDir); SetDlgItemText(hwndDlg, IDC_LOGDIRECTORY, mir_wstrlen(tszTemp) > 1 ? tszTemp : DEFLOGFILENAME); } psMalloc->Free(idList); -- cgit v1.2.3