From e12cc9f9eb3fcd0e3a0de3de82527a7d9cbc9cc1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 Dec 2014 20:08:21 +0000 Subject: - 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 --- plugins/HistoryStats/src/dlgoption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/HistoryStats/src/dlgoption.cpp') 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); -- cgit v1.2.3