diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-07 18:48:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-07 22:40:54 +0300 |
commit | fab3905d91890102046dcc4554721991ae8ff413 (patch) | |
tree | 7514ac3e6739bf09447e9ff5c0926fee7bfe8155 /plugins/MessageState | |
parent | 4138d31dd4609d4c29e7bd0dd8dcdedf5f3245b6 (diff) |
Skin_GetProtoIcon - new function to retrieve status icon's handle
Diffstat (limited to 'plugins/MessageState')
-rw-r--r-- | plugins/MessageState/src/messagestate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp index c0ce9dd49d..0e52b1d5ad 100644 --- a/plugins/MessageState/src/messagestate.cpp +++ b/plugins/MessageState/src/messagestate.cpp @@ -37,11 +37,11 @@ void SetSRMMIcon(MCONTACT hContact, SRMM_ICON_TYPE type, time_t time) if (g_plugin.getDword(hActualContact, DBKEY_MESSAGE_READ_TIME_TYPE, -1) == MRD_TYPE_READTIME) {
wchar_t buf[100];
wcsftime(buf, _countof(buf), TranslateT("Last message read at %X %x"), localtime(&time));
- sid.tszTooltip = buf;
+ sid.szTooltip.w = buf;
}
- else sid.tszTooltip = TranslateT("Last message read (unknown time)");
+ else sid.szTooltip.w = TranslateT("Last message read (unknown time)");
}
- else sid.tszTooltip = TranslateW(Tooltips[type]);
+ else sid.szTooltip.w = TranslateW(Tooltips[type]);
}
else sid.flags |= MBF_HIDDEN;
|