summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-17 22:30:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-17 22:30:41 +0300
commit7f7252104c054002c8b30636ac0b327e915e7b6d (patch)
tree99dc464c7b21f5917e5ccaa9acff82b12e2b6c4e /plugins/SplashScreen
parentf7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (diff)
Utils_OpenUrlT
Utils_ReplaceVarsT
Diffstat (limited to 'plugins/SplashScreen')
-rw-r--r--plugins/SplashScreen/src/main.cpp2
-rw-r--r--plugins/SplashScreen/src/options.cpp4
2 files changed, 3 insertions, 3 deletions
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);
}