summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/EventInformation.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
commit6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch)
tree2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/WinterSpeak/src/EventInformation.cpp
parenta61c8728b379057fe7f0a0d86fe0b037598229dd (diff)
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
Diffstat (limited to 'plugins/WinterSpeak/src/EventInformation.cpp')
-rw-r--r--plugins/WinterSpeak/src/EventInformation.cpp12
1 files changed, 6 insertions, 6 deletions
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);
}