summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-17 22:24:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-17 22:24:00 +0300
commitf7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (patch)
tree18da75eb5431b7c913f6893a7dce98740436487b /src/mir_app
parent3079a6563ebc5887839ec29984206f2950638a4d (diff)
PathToRelativeT - forgotten macro
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/skin2opts.cpp4
-rw-r--r--src/mir_app/src/sounds.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mir_app/src/skin2opts.cpp b/src/mir_app/src/skin2opts.cpp
index 2b7f77bfef..f3cb06356f 100644
--- a/src/mir_app/src/skin2opts.cpp
+++ b/src/mir_app/src/skin2opts.cpp
@@ -673,7 +673,7 @@ public:
wchar_t filetmp[1] = { 0 };
if (wchar_t *file = OpenFileDlg(m_hwnd, filetmp, FALSE)) {
wchar_t filename[MAX_PATH];
- PathToRelativeT(file, filename);
+ PathToRelativeW(file, filename);
mir_free(file);
MySetCursor(IDC_WAIT);
@@ -940,7 +940,7 @@ INT_PTR CIconImportDlg::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
if (m_iDropHiLite != -1) {
wchar_t fullPath[MAX_PATH], filename[MAX_PATH];
m_iconSet.GetText(fullPath, _countof(fullPath));
- PathToRelativeT(fullPath, filename);
+ PathToRelativeW(fullPath, filename);
LVITEM lvi;
lvi.mask = LVIF_PARAM;
diff --git a/src/mir_app/src/sounds.cpp b/src/mir_app/src/sounds.cpp
index 0aec43e34c..8c60ee3b62 100644
--- a/src/mir_app/src/sounds.cpp
+++ b/src/mir_app/src/sounds.cpp
@@ -330,7 +330,7 @@ INT_PTR CALLBACK DlgProcSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
if (!GetOpenFileName(&ofn))
break;
- PathToRelativeT(str, strFull);
+ PathToRelativeW(str, strFull);
snd.ptszTempFile = mir_wstrdup(strFull);
SetDlgItemText(hwndDlg, IDC_LOCATION, strFull);
}