summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/column.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
commit8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch)
tree94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/HistoryStats/src/column.cpp
parent1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff)
hello, Unix.
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/column.cpp')
-rw-r--r--plugins/HistoryStats/src/column.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/HistoryStats/src/column.cpp b/plugins/HistoryStats/src/column.cpp
index 82c95c61ce..1a0d85f2fb 100644
--- a/plugins/HistoryStats/src/column.cpp
+++ b/plugins/HistoryStats/src/column.cpp
@@ -54,7 +54,7 @@ void Column::FactoryList::initList()
ext::string Column::IDProvider::getID()
{
- ext::string s = _T("q");
+ ext::string s = L"q";
int val = m_nNextID++;
while (val > 0) {
@@ -106,15 +106,15 @@ void Column::writeRowspanTD(ext::ostream& tos, const ext::string& innerHTML, int
{
int curRowSpan = (row < numRows) ? 1 : (rowSpan - numRows + 1);
- tos << _T("<td");
+ tos << L"<td";
if (colSpan > 1)
- tos << _T(" colspan=\"") << colSpan << _T("\"");
+ tos << L" colspan=\"" << colSpan << L"\"";
if (curRowSpan > 1)
- tos << _T(" rowspan=\"") << curRowSpan << _T("\"");
+ tos << L" rowspan=\"" << curRowSpan << L"\"";
- tos << _T(">") << innerHTML << _T("</td>") << ext::endl;
+ tos << L">" << innerHTML << L"</td>" << ext::endl;
}
void Column::copyAttrib(const Column* pSource)
@@ -130,7 +130,7 @@ const ext::string Column::getCustomTitle(const ext::string& strShort, const ext:
ext::string strTitle = utils::htmlEscape(m_CustomTitle.empty() ? (m_pSettings->m_TableHeaderVerbose ? strLong : strShort) : m_CustomTitle);
if (m_pSettings->m_HeaderTooltips && (!m_pSettings->m_HeaderTooltipsIfCustom || !m_CustomTitle.empty() || (!m_pSettings->m_TableHeaderVerbose && strShort != strLong)))
- strTitle = _T("<span title=\"") + utils::htmlEscape(strLong) + _T("\">") + strTitle + _T("</span>");
+ strTitle = L"<span title=\"" + utils::htmlEscape(strLong) + L"\">" + strTitle + L"</span>";
return strTitle;
}