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/WinterSpeak/src/EventInformation.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/WinterSpeak/src/EventInformation.cpp') diff --git a/plugins/WinterSpeak/src/EventInformation.cpp b/plugins/WinterSpeak/src/EventInformation.cpp index 3332a7c235..451449f343 100644 --- a/plugins/WinterSpeak/src/EventInformation.cpp +++ b/plugins/WinterSpeak/src/EventInformation.cpp @@ -8,11 +8,11 @@ EventInformation::EventInformation() : m_event_strings(), m_event_info() { // insert the event strings into a map for easy access - m_event_strings[EVENTTYPE_MESSAGE] = TranslateW(L"incoming message from %u"); - m_event_strings[EVENTTYPE_URL] = TranslateW(L"incoming URL from %u"); - m_event_strings[EVENTTYPE_ADDED] = TranslateW(L"you have been added to %u's contact list"); - m_event_strings[EVENTTYPE_AUTHREQUEST] = TranslateW(L"%u requests your authorization"); - m_event_strings[EVENTTYPE_FILE] = TranslateW(L"there is an incoming file from %u"); + m_event_strings[EVENTTYPE_MESSAGE] = TranslateT("incoming message from %u"); + m_event_strings[EVENTTYPE_URL] = TranslateT("incoming URL from %u"); + m_event_strings[EVENTTYPE_ADDED] = TranslateT("you have been added to %u's contact list"); + m_event_strings[EVENTTYPE_AUTHREQUEST] = TranslateT("%u requests your authorization"); + m_event_strings[EVENTTYPE_FILE] = TranslateT("there is an incoming file from %u"); memset(&m_event_info, 0, sizeof(m_event_info)); } @@ -65,7 +65,7 @@ bool EventInformation::isValidEvent(MEVENT event) //------------------------------------------------------------------------------ std::wstring EventInformation::getMessage() { - const std::wstring intro = TranslateW(L"%u says"); + const std::wstring intro = TranslateT("%u says"); return intro + L" " + mir_a2t_cp((char*)m_event_info.pBlob, CP_UTF8); } -- cgit v1.2.3