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/Clist_modern | |
parent | 3079a6563ebc5887839ec29984206f2950638a4d (diff) |
PathToRelativeT - forgotten macro
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinengine.cpp | 4 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_skinopt.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp index efe7ff5ba1..0e58fc5233 100644 --- a/plugins/Clist_modern/src/modern_skinengine.cpp +++ b/plugins/Clist_modern/src/modern_skinengine.cpp @@ -220,7 +220,7 @@ int IniParser::GetSkinFolder(IN const wchar_t * szFileName, OUT wchar_t * pszFol mir_snwprintf(pszFolderName, MAX_PATH, L"%s\\%s", custom_folder, cus); mir_free(szBuff); - PathToRelativeT(pszFolderName, pszFolderName); + PathToRelativeW(pszFolderName, pszFolderName); return 0; } @@ -1966,7 +1966,7 @@ int ske_LoadSkinFromIniFile(wchar_t *szFileName, BOOL bOnlyObjects) wchar_t skinFolder[MAX_PATH], skinFile[MAX_PATH]; IniParser::GetSkinFolder(szFileName, skinFolder); - PathToRelativeT(szFileName, skinFile); + PathToRelativeW(szFileName, skinFile); db_set_ws(NULL, SKIN, "SkinFolder", skinFolder); db_set_ws(NULL, SKIN, "SkinFile", skinFile); diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp index e47add0db3..58f9c05aea 100644 --- a/plugins/Clist_modern/src/modern_skinopt.cpp +++ b/plugins/Clist_modern/src/modern_skinopt.cpp @@ -255,7 +255,7 @@ INT_PTR CALLBACK DlgSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara SkinListData *sd = (SkinListData*)nmtv->itemNew.lParam; wchar_t buf[MAX_PATH]; - PathToRelativeT(sd->File, buf); + PathToRelativeW(sd->File, buf); SetDlgItemText(hwndDlg, IDC_EDIT_SKIN_FILENAME, buf); wchar_t prfn[MAX_PATH] = { 0 }, imfn[MAX_PATH] = { 0 }, skinfolder[MAX_PATH] = { 0 }; |