summaryrefslogtreecommitdiff
path: root/plugins/MessageState/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MessageState/src')
-rw-r--r--plugins/MessageState/src/messagestate.cpp6
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;