From 7f7252104c054002c8b30636ac0b327e915e7b6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Nov 2016 22:30:41 +0300 Subject: Utils_OpenUrlT Utils_ReplaceVarsT --- plugins/SplashScreen/src/main.cpp | 2 +- plugins/SplashScreen/src/options.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/SplashScreen/src') diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp index 1f8e78f5c4..2731a951a9 100644 --- a/plugins/SplashScreen/src/main.cpp +++ b/plugins/SplashScreen/src/main.cpp @@ -64,7 +64,7 @@ void SplashMain() { if (bstartup) { // Retrive path to exe of current running Miranda is located - szMirDir = Utils_ReplaceVarsT(L"%miranda_path%"); + szMirDir = Utils_ReplaceVarsW(L"%miranda_path%"); mir_snwprintf(szhAdvaimgPath, L"%s\\plugins\\advaimg.dll", szMirDir); CallService(MS_SYSTEM_GETVERSIONTEXT, MAX_PATH, (LPARAM)szVersion); diff --git a/plugins/SplashScreen/src/options.cpp b/plugins/SplashScreen/src/options.cpp index a3d9b9405c..b4c51f74a8 100644 --- a/plugins/SplashScreen/src/options.cpp +++ b/plugins/SplashScreen/src/options.cpp @@ -175,7 +175,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP *pos = 0; } else { - szMirDir = Utils_ReplaceVarsT(L"%miranda_path%"); + szMirDir = Utils_ReplaceVarsW(L"%miranda_path%"); mir_wstrcpy(initDir, szMirDir); mir_free(szMirDir); } @@ -231,7 +231,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP if (pos != NULL) *pos = 0; } else { - szMirDir = Utils_ReplaceVarsT(L"%miranda_path%"); + szMirDir = Utils_ReplaceVarsW(L"%miranda_path%"); mir_wstrcpy(initDir, szMirDir); mir_free(szMirDir); } -- cgit v1.2.3