diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/HistoryStats/src/column_inout.cpp | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (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/HistoryStats/src/column_inout.cpp')
-rw-r--r-- | plugins/HistoryStats/src/column_inout.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/plugins/HistoryStats/src/column_inout.cpp b/plugins/HistoryStats/src/column_inout.cpp index 6bdc88909c..67a8d7d35f 100644 --- a/plugins/HistoryStats/src/column_inout.cpp +++ b/plugins/HistoryStats/src/column_inout.cpp @@ -46,16 +46,16 @@ void ColInOut::impl_configToUI(OptionsCtrl& Opt, OptionsCtrl::Item hGroup) Opt.insertRadio(m_hAbsolute, m_hAbsTime, TranslateT("Units per week"));
Opt.insertRadio(m_hAbsolute, m_hAbsTime, TranslateT("Units per month (30 days)"));
- static const TCHAR* sourceTexts[] = {
- LPGENT("Characters (incoming)"),
- LPGENT("Characters (outgoing)"),
- LPGENT("Characters (all)"),
- LPGENT("Messages (incoming)"),
- LPGENT("Messages (outgoing)"),
- LPGENT("Messages (all)"),
- LPGENT("Chats (incoming)"),
- LPGENT("Chats (outgoing)"),
- LPGENT("Chats (all)"),
+ static const wchar_t* sourceTexts[] = {
+ LPGENW("Characters (incoming)"),
+ LPGENW("Characters (outgoing)"),
+ LPGENW("Characters (all)"),
+ LPGENW("Messages (incoming)"),
+ LPGENW("Messages (outgoing)"),
+ LPGENW("Messages (all)"),
+ LPGENW("Chats (incoming)"),
+ LPGENW("Chats (outgoing)"),
+ LPGENW("Chats (all)"),
};
array_each_(i, sourceTexts)
@@ -77,28 +77,28 @@ void ColInOut::impl_configFromUI(OptionsCtrl& Opt) void ColInOut::impl_outputRenderHeader(ext::ostream& tos, int row, int rowSpan) const
{
- static const TCHAR* szShortDesc[] = {
- LPGENT("Characters"),
- LPGENT("Messages"),
- LPGENT("Chats")
+ static const wchar_t* szShortDesc[] = {
+ LPGENW("Characters"),
+ LPGENW("Messages"),
+ LPGENW("Chats")
};
- static const TCHAR* szSourceDesc[] = {
- LPGENT("Incoming characters"),
- LPGENT("Outgoing characters"),
- LPGENT("Characters"),
- LPGENT("Incoming messages"),
- LPGENT("Outgoing messages"),
- LPGENT("Messages"),
- LPGENT("Incoming chats"),
- LPGENT("Outgoing chats"),
- LPGENT("Chats")
+ static const wchar_t* szSourceDesc[] = {
+ LPGENW("Incoming characters"),
+ LPGENW("Outgoing characters"),
+ LPGENW("Characters"),
+ LPGENW("Incoming messages"),
+ LPGENW("Outgoing messages"),
+ LPGENW("Messages"),
+ LPGENW("Incoming chats"),
+ LPGENW("Outgoing chats"),
+ LPGENW("Chats")
};
- static const TCHAR* szUnitDesc[] = {
- LPGENT("day"),
- LPGENT("week"),
- LPGENT("month"),
+ static const wchar_t* szUnitDesc[] = {
+ LPGENW("day"),
+ LPGENW("week"),
+ LPGENW("month"),
};
if (row == 1)
|