summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/column_timeline.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/HistoryStats/src/column_timeline.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/HistoryStats/src/column_timeline.cpp')
-rw-r--r--plugins/HistoryStats/src/column_timeline.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/plugins/HistoryStats/src/column_timeline.cpp b/plugins/HistoryStats/src/column_timeline.cpp
index b6a5dc55c5..67e579ca0e 100644
--- a/plugins/HistoryStats/src/column_timeline.cpp
+++ b/plugins/HistoryStats/src/column_timeline.cpp
@@ -47,19 +47,19 @@ void ColTimeline::impl_configToUI(OptionsCtrl& Opt, OptionsCtrl::Item hGroup)
m_hDetail = Opt.insertCheck(hGroup, TranslateT("Details for every bar (tooltip)"));
m_hDays = Opt.insertEdit (hGroup, TranslateT("Number of days to group"), L"", OptionsCtrl::OCF_NUMBER);
- static const TCHAR* sourceTexts[] = {
- LPGENT("Characters (incoming)"),
- LPGENT("Characters (outgoing)"),
- LPGENT("Characters (all)"),
- LPGENT("Characters (in/out ratio)"),
- LPGENT("Messages (incoming)"),
- LPGENT("Messages (outgoing)"),
- LPGENT("Messages (all)"),
- LPGENT("Messages (in/out ratio)"),
- LPGENT("Chats (incoming)"),
- LPGENT("Chats (outgoing)"),
- LPGENT("Chats (all)"),
- LPGENT("Chats (in/out ratio)"),
+ static const wchar_t* sourceTexts[] = {
+ LPGENW("Characters (incoming)"),
+ LPGENW("Characters (outgoing)"),
+ LPGENW("Characters (all)"),
+ LPGENW("Characters (in/out ratio)"),
+ LPGENW("Messages (incoming)"),
+ LPGENW("Messages (outgoing)"),
+ LPGENW("Messages (all)"),
+ LPGENW("Messages (in/out ratio)"),
+ LPGENW("Chats (incoming)"),
+ LPGENW("Chats (outgoing)"),
+ LPGENW("Chats (all)"),
+ LPGENW("Chats (in/out ratio)"),
};
array_each_(i, sourceTexts)
@@ -190,19 +190,19 @@ Column::StyleList ColTimeline::impl_outputGetAdditionalStyles(IDProvider& idp)
void ColTimeline::impl_outputRenderHeader(ext::ostream& tos, int row, int rowSpan) const
{
- static const TCHAR* szSourceDesc[] = {
- LPGENT("incoming characters"),
- LPGENT("outgoing characters"),
- LPGENT("all characters"),
- LPGENT("in/out ratio of characters"),
- LPGENT("incoming messages"),
- LPGENT("outgoing messages"),
- LPGENT("all messages"),
- LPGENT("in/out ratio of messages"),
- LPGENT("incoming chats"),
- LPGENT("outgoing chats"),
- LPGENT("all chats"),
- LPGENT("in/out ratio of chats"),
+ static const wchar_t* szSourceDesc[] = {
+ LPGENW("incoming characters"),
+ LPGENW("outgoing characters"),
+ LPGENW("all characters"),
+ LPGENW("in/out ratio of characters"),
+ LPGENW("incoming messages"),
+ LPGENW("outgoing messages"),
+ LPGENW("all messages"),
+ LPGENW("in/out ratio of messages"),
+ LPGENW("incoming chats"),
+ LPGENW("outgoing chats"),
+ LPGENW("all chats"),
+ LPGENW("in/out ratio of chats"),
};
if (row == 1)