summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/historypp.dpr
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2012-07-13 12:05:09 +0000
committerAlexey Kulakov <panda75@bk.ru>2012-07-13 12:05:09 +0000
commita79fa86ed589c3d843baa932230ef08bc7468296 (patch)
tree98339a8ea73acfffbea00ca607c6525e89657ac6 /plugins/HistoryPlusPlus/historypp.dpr
parenta87fb51fd8597af4909892f0e12010594e935586 (diff)
partial code beautifier (through Pascal Analizer)
git-svn-id: http://svn.miranda-ng.org/main/trunk@947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/historypp.dpr')
-rw-r--r--plugins/HistoryPlusPlus/historypp.dpr6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr
index 105f212769..ecbcd05108 100644
--- a/plugins/HistoryPlusPlus/historypp.dpr
+++ b/plugins/HistoryPlusPlus/historypp.dpr
@@ -32,6 +32,7 @@ library historypp;
uses
Windows,
SysUtils,
+ CommCtrl,
m_api,
Forms,
hpp_global in 'hpp_global.pas',
@@ -360,12 +361,11 @@ begin
begin
ZeroMemory(@ttb,SizeOf(ttb));
ttb.cbSize := SizeOf(ttb);
-
ttb.hIconUp := hppIcons[HPP_ICON_GLOBALSEARCH].handle;
-
ttb.pszService := MS_HPP_SHOWGLOBALSEARCH;
ttb.dwFlags := TTBBF_VISIBLE or TTBBF_SHOWTOOLTIP;
- ttb.name := ttb.pszTooltipUp := PAnsiChar(Translate('Global History Search'));
+ ttb.name := PAnsiChar(Translate('Global History Search'));
+ ttb.pszTooltipUp := ttb.name;
CallService(MS_TTB_ADDBUTTON,WPARAM(@ttb), 0);
UnhookEvent(HookTTBLoaded);
end;