From 3576b67db9fa0a3d8d5c1747cc3560504d31d125 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 5 Mar 2014 12:52:30 +0000 Subject: - adaptation for standard Windows ways of handling Unicode; - obsoleted code removed; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8407 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/column_protocol.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'plugins/HistoryStats/src/column_protocol.cpp') diff --git a/plugins/HistoryStats/src/column_protocol.cpp b/plugins/HistoryStats/src/column_protocol.cpp index bbbe67ba01..3b194c5f01 100644 --- a/plugins/HistoryStats/src/column_protocol.cpp +++ b/plugins/HistoryStats/src/column_protocol.cpp @@ -8,19 +8,13 @@ void ColProtocol::impl_outputRenderHeader(ext::ostream& tos, int row, int rowSpan) const { if (row == 1) - { - writeRowspanTD(tos, getCustomTitle(i18n(muT("Protocol")), i18n(muT("Protocol"))), row, 1, rowSpan); - } + writeRowspanTD(tos, getCustomTitle(TranslateT("Protocol"), TranslateT("Protocol")), row, 1, rowSpan); } void ColProtocol::impl_outputRenderRow(ext::ostream& tos, const Contact& contact, DisplayType display) { if (display == asContact) - { - tos << muT("") << utils::htmlEscape(contact.getProtocol()) << muT("") << ext::endl; - } + tos << _T("") << utils::htmlEscape(contact.getProtocol()) << _T("") << ext::endl; else - { - tos << muT(" "); - } + tos << _T(" "); } -- cgit v1.2.3