summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
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;