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 /src/core/stdfile | |
parent | f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (diff) |
Utils_OpenUrlT
Utils_ReplaceVarsT
Diffstat (limited to 'src/core/stdfile')
-rw-r--r-- | src/core/stdfile/src/filerecvdlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdfile/src/filerecvdlg.cpp b/src/core/stdfile/src/filerecvdlg.cpp index 4a55490432..2fbb046a31 100644 --- a/src/core/stdfile/src/filerecvdlg.cpp +++ b/src/core/stdfile/src/filerecvdlg.cpp @@ -110,7 +110,7 @@ static REPLACEVARSARRAY sttVarsToReplace[] = static void patchDir(wchar_t *str, size_t strSize)
{
- wchar_t *result = Utils_ReplaceVarsT(str, 0, sttVarsToReplace);
+ wchar_t *result = Utils_ReplaceVarsW(str, 0, sttVarsToReplace);
if (result) {
wcsncpy(str, result, strSize);
mir_free(result);
@@ -146,7 +146,7 @@ void GetContactReceivedFilesDir(MCONTACT hContact, wchar_t *szDir, int cchDir, B for (int i = 0; i < (_countof(rvaVarsToReplace) - 1); i++)
RemoveInvalidFilenameChars(rvaVarsToReplace[i].value.w);
- wchar_t *result = Utils_ReplaceVarsT(tszTemp, hContact, rvaVarsToReplace);
+ wchar_t *result = Utils_ReplaceVarsW(tszTemp, hContact, rvaVarsToReplace);
if (result) {
wcsncpy(tszTemp, result, _countof(tszTemp));
mir_free(result);
|