diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-17 22:30:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-17 22:30:41 +0300 |
commit | 7f7252104c054002c8b30636ac0b327e915e7b6d (patch) | |
tree | 99dc464c7b21f5917e5ccaa9acff82b12e2b6c4e /plugins/CrashDumper | |
parent | f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (diff) |
Utils_OpenUrlT
Utils_ReplaceVarsT
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r-- | plugins/CrashDumper/src/crshdmp.cpp | 4 | ||||
-rw-r--r-- | plugins/CrashDumper/src/dumper.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index 6538e93bfc..cd73cb1b30 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -365,8 +365,8 @@ extern "C" int __declspec(dllexport) Load(void) mir_getLP(&pluginInfoEx);
- profname = Utils_ReplaceVarsT(L"%miranda_profilename%.dat");
- profpath = Utils_ReplaceVarsT(L"%miranda_userdata%");
+ profname = Utils_ReplaceVarsW(L"%miranda_profilename%.dat");
+ profpath = Utils_ReplaceVarsW(L"%miranda_userdata%");
if (catchcrashes && !needrestart)
mir_snwprintf(CrashLogFolder, TEXT("%s\\CrashLog"), profpath);
wcsncpy_s(VersionInfoFolder, profpath, _TRUNCATE);
diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp index f802e4e33b..2b07c9766c 100644 --- a/plugins/CrashDumper/src/dumper.cpp +++ b/plugins/CrashDumper/src/dumper.cpp @@ -464,7 +464,7 @@ void PrintVersionInfo(CMStringW& buffer, unsigned flags) GetLanguageString(buffer);
buffer.Append(L"\r\n");
- wchar_t *profpathfull = Utils_ReplaceVarsT(profpath);
+ wchar_t *profpathfull = Utils_ReplaceVarsW(profpath);
if (flags & VI_FLAG_PRNVAR) {
GetFreeDiskString(profpathfull, buffer);
buffer.Append(L"\r\n");
|