From bc0b6bfb2734ce8355ddfb9b20461321c08a0b0c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 17 Mar 2017 13:39:30 +0300 Subject: forgotten TCHAR removed --- protocols/Tox/src/tox_multimedia.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Tox/src') diff --git a/protocols/Tox/src/tox_multimedia.cpp b/protocols/Tox/src/tox_multimedia.cpp index 0cf156dace..c5c42ac79d 100644 --- a/protocols/Tox/src/tox_multimedia.cpp +++ b/protocols/Tox/src/tox_multimedia.cpp @@ -344,7 +344,7 @@ INT_PTR CToxProto::OnRecvAudioCall(WPARAM hContact, LPARAM lParam) MEVENT hEvent = AddEventToDb(hContact, DB_EVENT_CALL, pre->timestamp, DBEF_UTF, (PBYTE)pre->szMessage, mir_strlen(pre->szMessage)); CLISTEVENT cle = {}; - cle.flags = CLEF_TCHAR; + cle.flags = CLEF_UNICODE; cle.hContact = hContact; cle.hDbEvent = hEvent; cle.lParam = DB_EVENT_CALL; @@ -352,7 +352,7 @@ INT_PTR CToxProto::OnRecvAudioCall(WPARAM hContact, LPARAM lParam) wchar_t szTooltip[MAX_PATH]; mir_snwprintf(szTooltip, TranslateT("Incoming call from %s"), pcli->pfnGetContactDisplayName(hContact, 0)); - cle.ptszTooltip = szTooltip; + cle.szTooltip.w = szTooltip; char szService[MAX_PATH]; mir_snprintf(szService, "%s/Audio/Ring", GetContactProto(hContact)); -- cgit v1.2.3