diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-17 22:24:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-17 22:24:00 +0300 |
commit | f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (patch) | |
tree | 18da75eb5431b7c913f6893a7dce98740436487b /plugins/SplashScreen/src/options.cpp | |
parent | 3079a6563ebc5887839ec29984206f2950638a4d (diff) |
PathToRelativeT - forgotten macro
Diffstat (limited to 'plugins/SplashScreen/src/options.cpp')
-rw-r--r-- | plugins/SplashScreen/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|