From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: less TCHARs: - TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MessageState/src/messagestate.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/MessageState/src') diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp index 6f64d22273..2082f67ec5 100644 --- a/plugins/MessageState/src/messagestate.cpp +++ b/plugins/MessageState/src/messagestate.cpp @@ -9,12 +9,12 @@ IconItem Icons[] = { LPGEN("Unread clist extra icon"), "clist_unread_icon", IDI_EXTRA }, }; -const TCHAR* Tooltips[] = +const wchar_t* Tooltips[] = { - LPGENT("Last message is not read"), - LPGENT("Last message read"), - LPGENT("Last message was not sent"), - LPGENT("Sending...") + LPGENW("Last message is not read"), + LPGENW("Last message read"), + LPGENW("Last message was not sent"), + LPGENW("Sending...") }; void SetSRMMIcon(MCONTACT hContact, SRMM_ICON_TYPE type, time_t time) @@ -34,7 +34,7 @@ void SetSRMMIcon(MCONTACT hContact, SRMM_ICON_TYPE type, time_t time) { if (db_get_dw(hContact, MODULENAME, DBKEY_MESSAGE_READ_TIME_TYPE, -1) == MRD_TYPE_READTIME) { - _tcsftime(tszTooltip.GetBuffer(64), 64, TranslateT("Last message read at %X %x"), localtime(&time)); + wcsftime(tszTooltip.GetBuffer(64), 64, TranslateT("Last message read at %X %x"), localtime(&time)); tszTooltip.ReleaseBuffer(); } else -- cgit v1.2.3