summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/sr_global.pas14
-rw-r--r--plugins/QuickSearch/sr_window.pas2
2 files changed, 8 insertions, 8 deletions
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas
index 578e631900..b4e18a1b92 100644
--- a/plugins/QuickSearch/sr_global.pas
+++ b/plugins/QuickSearch/sr_global.pas
@@ -236,16 +236,16 @@ end;
procedure AddRemoveMenuItemToMainMenu;
var
- cmi:TCLISTMENUITEM;
+ mi:TMO_MenuItem;
begin
if MainMenuItem<>0 then exit;
- ZeroMemory(@cmi,sizeof(cmi));
- cmi.szName.a :=qs_name;
- cmi.position :=500050000;
- cmi.pszService :=QS_SHOWSERVICE;
- cmi.hIcon :=IcoLib_GetIcon(QS_QS,0);
- MainMenuItem :=Menu_AddMainMenuItem(@cmi);
+ ZeroMemory(@mi,sizeof(mi));
+ mi.szName.a :=qs_name;
+ mi.position :=500050000;
+ mi.pszService :=QS_SHOWSERVICE;
+ mi.hIcon :=IcoLib_GetIcon(QS_QS,0);
+ MainMenuItem :=Menu_AddMainMenuItem(@mi);
end;
// -------- column functions ---------
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas
index 7399147902..6a6494a6dc 100644
--- a/plugins/QuickSearch/sr_window.pas
+++ b/plugins/QuickSearch/sr_window.pas
@@ -787,7 +787,7 @@ end;
function ShowContactMenu(wnd:HWND;hContact:TMCONTACT;col:integer=-1):HMENU;
var
- mi:TCListMenuItem;
+ mi:TMO_MenuItem;
pt:tpoint;
doit:bool;
begin