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/SplashScreen/src/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SplashScreen/src') diff --git a/plugins/SplashScreen/src/options.cpp b/plugins/SplashScreen/src/options.cpp index 4fcef6b257..a3d9b9405c 100644 --- a/plugins/SplashScreen/src/options.cpp +++ b/plugins/SplashScreen/src/options.cpp @@ -201,7 +201,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP logMessage(L"Set path", szSplashFile); #endif // Make path relative - int result = PathToRelativeT(szTempPath, szPath2Spash); + int result = PathToRelativeW(szTempPath, szPath2Spash); if (result && mir_wstrlen(szPath2Spash) > 0) { if (options.random) { wchar_t *pos = wcsrchr(szPath2Spash, '\\'); @@ -258,7 +258,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP #endif // Make path relative - int result = PathToRelativeT(szTempPath, szSoundFilePath); + int result = PathToRelativeW(szTempPath, szSoundFilePath); if (result && mir_wstrlen(szSoundFile) > 0) SetDlgItemText(hwndDlg, IDC_SNDPATH, szSoundFilePath); -- cgit v1.2.3