diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-17 13:39:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-17 13:39:30 +0300 |
commit | bc0b6bfb2734ce8355ddfb9b20461321c08a0b0c (patch) | |
tree | e3d8fdb4a5c1090d7efd21397679e2ed8803659e /plugins/TabSRMM | |
parent | 2444f74aeaa00db13dd0cdb44d694cad09620efa (diff) |
forgotten TCHAR removed
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 4 | ||||
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
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); |