From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/column_wordcount.cpp | 42 +++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'plugins/HistoryStats/src/column_wordcount.cpp') diff --git a/plugins/HistoryStats/src/column_wordcount.cpp b/plugins/HistoryStats/src/column_wordcount.cpp index d058b1bbe1..a00d9c510d 100644 --- a/plugins/HistoryStats/src/column_wordcount.cpp +++ b/plugins/HistoryStats/src/column_wordcount.cpp @@ -125,8 +125,8 @@ void ColWordCount::impl_outputRenderHeader(ext::ostream& tos, int row, int rowSp if (row == 1) { ext::string strTitle = str(ext::kformat(TranslateT("#{type} for #{data}")) - % _T("#{type}") * TranslateTS(szTypeDesc[m_nVisMode]) - % _T("#{data}") * TranslateTS(szSourceDesc[m_nSource])); + % L"#{type}" * TranslateTS(szTypeDesc[m_nVisMode]) + % L"#{data}" * TranslateTS(szSourceDesc[m_nSource])); writeRowspanTD(tos, getCustomTitle(TranslateTS(szTypeDesc[m_nVisMode]), strTitle), row, 1, rowSpan); } @@ -142,18 +142,18 @@ void ColWordCount::impl_outputRenderRow(ext::ostream& tos, const Contact& contac { if (!m_bDetail) { - tos << _T("") + tos << L"" << utils::intToGrouped(pWordCount[0]) - << _T("") << ext::endl; + << L"" << ext::endl; } else { - tos << _T("") + % L"#{distict_words}" * utils::intToGrouped(pWordCount[1]))) + << L"\">" << utils::intToGrouped(pWordCount[0]) - << _T("") << ext::endl; + << L"" << ext::endl; } } break; @@ -162,18 +162,18 @@ void ColWordCount::impl_outputRenderRow(ext::ostream& tos, const Contact& contac { if (!m_bDetail) { - tos << _T("") + tos << L"" << utils::intToGrouped(pWordCount[1]) - << _T("") << ext::endl; + << L"" << ext::endl; } else { - tos << _T("") + % L"#{words}" * utils::intToGrouped(pWordCount[0]))) + << L"\">" << utils::intToGrouped(pWordCount[1]) - << _T("") << ext::endl; + << L"" << ext::endl; } } break; @@ -182,19 +182,19 @@ void ColWordCount::impl_outputRenderRow(ext::ostream& tos, const Contact& contac { if (!m_bDetail) { - tos << _T("") + tos << L"" << utils::ratioToString(pWordCount[0], pWordCount[1], 2) - << _T("") << ext::endl; + << L"" << ext::endl; } else { - tos << _T("") + % L"#{words}" * utils::intToGrouped(pWordCount[0]) + % L"#{distict_words}" * utils::intToGrouped(pWordCount[1]))) + << L"\">" << utils::ratioToString(pWordCount[0], pWordCount[1], 2) - << _T("") << ext::endl; + << L"" << ext::endl; } } break; -- cgit v1.2.3