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 /src/core/stduseronline | |
parent | 2444f74aeaa00db13dd0cdb44d694cad09620efa (diff) |
forgotten TCHAR removed
Diffstat (limited to 'src/core/stduseronline')
-rw-r--r-- | src/core/stduseronline/src/useronline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stduseronline/src/useronline.cpp b/src/core/stduseronline/src/useronline.cpp index 6c7e4cadee..1fa4966af3 100644 --- a/src/core/stduseronline/src/useronline.cpp +++ b/src/core/stduseronline/src/useronline.cpp @@ -61,12 +61,12 @@ static int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam) mir_snwprintf(tooltip, TranslateT("%s is online"), pcli->pfnGetContactDisplayName(hContact, 0));
CLISTEVENT cle = {};
- cle.flags = CLEF_ONLYAFEW | CLEF_TCHAR;
+ cle.flags = CLEF_ONLYAFEW | CLEF_UNICODE;
cle.hContact = hContact;
cle.hDbEvent = uniqueEventId++;
cle.hIcon = Skin_LoadIcon(SKINICON_OTHER_USERONLINE, false);
cle.pszService = "UserOnline/Description";
- cle.ptszTooltip = tooltip;
+ cle.szTooltip.w = tooltip;
pcli->pfnAddEvent(&cle);
IcoLib_ReleaseIcon(cle.hIcon, 0);
db_set_dw(cle.hContact, "UserOnline", "LastEvent", (DWORD)cle.hDbEvent);
|