summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgoption.cpp
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/dlgoption.cpp
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/dlgoption.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgoption.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/dlgoption.cpp b/plugins/HistoryStats/src/dlgoption.cpp
index 2bfbf7e019..68e93fe56e 100644
--- a/plugins/HistoryStats/src/dlgoption.cpp
+++ b/plugins/HistoryStats/src/dlgoption.cpp
@@ -117,7 +117,7 @@ void DlgOption::onWMInitDialog()
dwFlags |= pageBand[i].bVisible ? 0 : BandCtrl::BCF_HIDDEN;
dwFlags |= pageBand[i].bDropDown ? BandCtrl::BCF_DROPDOWN : 0;
- HANDLE hButton = m_Band.addButton(dwFlags, hIcon, i, TranslateTS(pageBand[i].szTooltip), TranslateTS(pageBand[i].szText));
+ HANDLE hButton = m_Band.addButton(dwFlags, hIcon, i, pageBand[i].szTooltip, pageBand[i].szText);
DestroyIcon(hIcon);