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 --- src/mir_app/src/chat_tools.cpp | 2 +- src/mir_app/src/enterstring.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/chat_tools.cpp b/src/mir_app/src/chat_tools.cpp index b50f2ba7ce..2ff093934a 100644 --- a/src/mir_app/src/chat_tools.cpp +++ b/src/mir_app/src/chat_tools.cpp @@ -734,7 +734,7 @@ wchar_t* GetChatLogsFilename(SESSION_INFO *si, time_t tTime) } else ptszVarPath = g_Settings->pszLogDir; - wchar_t *tszParsedName = Utils_ReplaceVarsT(ptszVarPath, si->hContact, rva); + wchar_t *tszParsedName = Utils_ReplaceVarsW(ptszVarPath, si->hContact, rva); if (chatApi.OnGetLogName) chatApi.OnGetLogName(si, tszParsedName); else diff --git a/src/mir_app/src/enterstring.cpp b/src/mir_app/src/enterstring.cpp index 5632a6acf1..b882ac0133 100644 --- a/src/mir_app/src/enterstring.cpp +++ b/src/mir_app/src/enterstring.cpp @@ -199,7 +199,7 @@ static INT_PTR CALLBACK sttEnterStringDlgProc(HWND hwndDlg, UINT msg, WPARAM wPa tr.lpstrText = (wchar_t *)mir_alloc(sizeof(wchar_t)*(tr.chrg.cpMax - tr.chrg.cpMin + 2)); SendMessage(param->nmhdr.hwndFrom, EM_GETTEXTRANGE, 0, (LPARAM)&tr); - Utils_OpenUrlT(tr.lpstrText); + Utils_OpenUrlW(tr.lpstrText); mir_free(tr.lpstrText); } return TRUE; -- cgit v1.2.3