summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/column.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-19 20:08:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-19 20:08:21 +0000
commite12cc9f9eb3fcd0e3a0de3de82527a7d9cbc9cc1 (patch)
treebb15ed1aae45e3f92841d98ffa3229c2fbac9914 /plugins/HistoryStats/src/column.h
parent524aabc23effc3b60cf5b5c891bf66ceb6954ef7 (diff)
- fixes #820 (Crash because HistoryStats);
- code cleaning; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11535 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/column.h')
-rw-r--r--plugins/HistoryStats/src/column.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/column.h b/plugins/HistoryStats/src/column.h
index 4f29e71a2f..cc44972325 100644
--- a/plugins/HistoryStats/src/column.h
+++ b/plugins/HistoryStats/src/column.h
@@ -155,7 +155,7 @@ public:
void setCustomTitle(const ext::string& customTitle) { m_CustomTitle = customTitle; }
const ext::string getCustomTitle() const { return m_CustomTitle; }
const ext::string getCustomTitle(const ext::string& strShort, const ext::string& strLong) const;
- ext::string getTitleForOptions() { return m_CustomTitle.empty() ? getTitle() : (m_CustomTitle + _T(" (") + getTitle() + _T(")")); }
+ ext::string getTitleForOptions() { return m_CustomTitle.empty() ? TranslateTS(getTitle()) : (m_CustomTitle + _T(" (") + TranslateTS(getTitle()) + _T(")")); }
void setHelpers(Statistic* pStatistic, Settings* pSettings, Settings::CharMapper* pCharMapper) { m_pStatistic = pStatistic; m_pSettings = pSettings; m_pCharMapper = pCharMapper; }
Statistic* getStatistic() const { return m_pStatistic; }