summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
commitb3506557a58f53ed0fc3a96c4ec4a3b8098a542d (patch)
tree520a1cb861afa7600c0553ce8b2558f725a70ed1 /plugins/QuickSearch
parent4625aafb053a002f0223bfbe76abfbec629feacf (diff)
- CLISTMENUITEM::cbSize - atavism removed;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/quicksearch.dpr1
-rw-r--r--plugins/QuickSearch/sr_global.pas1
-rw-r--r--plugins/QuickSearch/sr_window.pas2
3 files changed, 0 insertions, 4 deletions
diff --git a/plugins/QuickSearch/quicksearch.dpr b/plugins/QuickSearch/quicksearch.dpr
index 764200acdc..621aaabbe0 100644
--- a/plugins/QuickSearch/quicksearch.dpr
+++ b/plugins/QuickSearch/quicksearch.dpr
@@ -52,7 +52,6 @@ var
begin
result:=0;
FillChar(mi,SizeOf(mi),0);
- mi.cbSize:=sizeof(mi);
mi.flags :=CMIM_ICON;
mi.hIcon:=IcoLib_GetIcon(QS_QS,0);
CallService(MS_CLIST_MODIFYMENUITEM,MainMenuItem,tlparam(@mi));
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas
index 2f7e59c2c0..d667d282c7 100644
--- a/plugins/QuickSearch/sr_global.pas
+++ b/plugins/QuickSearch/sr_global.pas
@@ -242,7 +242,6 @@ begin
if MainMenuItem<>0 then exit;
ZeroMemory(@cmi,sizeof(cmi));
- cmi.cbSize :=sizeof(cmi) ;
cmi.szName.a :=qs_name;
cmi.position :=500050000;
// cmi.pszPopupName:=nil;
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas
index 70287137f5..cfb87558a2 100644
--- a/plugins/QuickSearch/sr_window.pas
+++ b/plugins/QuickSearch/sr_window.pas
@@ -810,7 +810,6 @@ begin
cmcolumn:=col;
FillChar(mi,SizeOf(mi),0);
- mi.cbSize:=SizeOf(mi);
if mnuhandle=0 then
begin
mi.flags :=CMIF_UNICODE;
@@ -836,7 +835,6 @@ begin
// Due to stupid miranda logic, we need to clear tails at service processing, not earlier
if doit then
begin
- mi.cbSize:=SizeOf(mi);
mi.flags :=CMIM_FLAGS or CMIF_HIDDEN;
CallService(MS_CLIST_MODIFYMENUITEM,mnuhandle,LPARAM(@mi));
end;