summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-28 17:41:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-28 17:41:48 +0000
commit59cd198e89782263777c57dcd54704ecb1e10212 (patch)
tree9515cc2c31c1254c330e79906bb669279af9b8a5 /plugins/QuickSearch
parentca2afc50a432cefe892c6877710642bce6bd57c9 (diff)
finally CLISTEVENT removed completely
git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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