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 --- plugins/TabSRMM/src/globals.cpp | 4 ++-- plugins/TabSRMM/src/mim.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index 43b577fcf9..64b280b13e 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -536,8 +536,8 @@ void CGlobals::RestoreUnreadMessageAlerts(void) CLISTEVENT cle = {}; cle.hIcon = Skin_LoadIcon(SKINICON_EVENT_MESSAGE); cle.pszService = "SRMsg/ReadMessage"; - cle.flags = CLEF_TCHAR; - cle.ptszTooltip = toolTip; + cle.flags = CLEF_UNICODE; + cle.szTooltip.w = toolTip; for (int i = 0; i < arEvents.getCount(); i++) { MSavedEvent &e = arEvents[i]; diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index f80288b3bf..dc388238bb 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -309,10 +309,10 @@ int CMimAPI::TypingMessage(WPARAM hContact, LPARAM mode) CLISTEVENT cle = {}; cle.hContact = hContact; cle.hDbEvent = 1; - cle.flags = CLEF_ONLYAFEW | CLEF_TCHAR; + cle.flags = CLEF_ONLYAFEW | CLEF_UNICODE; cle.hIcon = PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING]; cle.pszService = "SRMsg/TypingMessage"; - cle.ptszTooltip = szTip; + cle.szTooltip.w = szTip; pcli->pfnAddEvent(&cle); } } @@ -540,12 +540,12 @@ nowindowcreate: CLISTEVENT cle = {}; cle.hContact = hContact; cle.hDbEvent = hDbEvent; - cle.flags = CLEF_TCHAR; + cle.flags = CLEF_UNICODE; cle.hIcon = Skin_LoadIcon(SKINICON_EVENT_MESSAGE); cle.pszService = "SRMsg/ReadMessage"; contactName = pcli->pfnGetContactDisplayName(hContact, 0); mir_snwprintf(toolTip, TranslateT("Message from %s"), contactName); - cle.ptszTooltip = toolTip; + cle.szTooltip.w = toolTip; pcli->pfnAddEvent(&cle); } tabSRMM_ShowPopup(hContact, hDbEvent, dbei.eventType, 0, 0, 0, dbei.szModule); -- cgit v1.2.3