summaryrefslogtreecommitdiff
path: root/plugins/BuddyExpectator
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-17 13:39:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-17 13:39:30 +0300
commitbc0b6bfb2734ce8355ddfb9b20461321c08a0b0c (patch)
treee3d8fdb4a5c1090d7efd21397679e2ed8803659e /plugins/BuddyExpectator
parent2444f74aeaa00db13dd0cdb44d694cad09620efa (diff)
forgotten TCHAR removed
Diffstat (limited to 'plugins/BuddyExpectator')
-rw-r--r--plugins/BuddyExpectator/src/BuddyExpectator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp
index 005b8c9343..83b36d2630 100644
--- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp
+++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp
@@ -282,12 +282,12 @@ void ReturnNotify(MCONTACT hContact, wchar_t *message)
cle.hContact = hContact;
cle.hIcon = hIcon;
cle.pszService = "BuddyExpectator/actionReturned";
- cle.flags = CLEF_TCHAR;
+ cle.flags = CLEF_UNICODE;
wchar_t* nick = (wchar_t*)pcli->pfnGetContactDisplayName(hContact, 0);
wchar_t tmpMsg[512];
mir_snwprintf(tmpMsg, L"%s %s", nick, message);
- cle.ptszTooltip = tmpMsg;
+ cle.szTooltip.w = tmpMsg;
pcli->pfnAddEvent(&cle);
}
}
@@ -324,8 +324,8 @@ void GoneNotify(MCONTACT hContact, wchar_t *message)
wchar_t* nick = (wchar_t*)pcli->pfnGetContactDisplayName(hContact, 0);
wchar_t tmpMsg[512];
mir_snwprintf(tmpMsg, L"%s %s", nick, message);
- cle.ptszTooltip = tmpMsg;
- cle.flags = CLEF_TCHAR;
+ cle.szTooltip.w = tmpMsg;
+ cle.flags = CLEF_UNICODE;
pcli->pfnAddEvent(&cle);
}
}