From 13c033c257f6c083b0c46b4fa28601db5a0b6335 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Feb 2014 20:50:07 +0000 Subject: MS_MC_GETMETACONTACT => db_mc_getMeta git-svn-id: http://svn.miranda-ng.org/main/trunk@8317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickSearch/i_ok.inc | 2 +- plugins/QuickSearch/sr_window.pas | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/QuickSearch') diff --git a/plugins/QuickSearch/i_ok.inc b/plugins/QuickSearch/i_ok.inc index cb4b161694..da9f138b81 100644 --- a/plugins/QuickSearch/i_ok.inc +++ b/plugins/QuickSearch/i_ok.inc @@ -233,7 +233,7 @@ begin end else if (flags and QSF_SUBMETA)<>0 then begin - lparam:=FindMeta(CallService(MS_MC_GETMETACONTACT,hContact,0),wparam); + lparam:=FindMeta(db_mc_getMeta(hContact),wparam); end; if wparam>0 then diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index d9b83503c9..0b4383fcc2 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -56,7 +56,7 @@ type flags :dword; status :dword; //--- Metacontacts only --- - wparam :WPARAM; + wparam :WPARAM; lparam :LPARAM; end; var @@ -399,7 +399,7 @@ begin begin if ListView_GetItemState(grid,i,LVIS_SELECTED)<>0 then begin - tmp:=CallService(MS_MC_GETMETACONTACT,FlagBuf[LV_GetLParam(grid,i)].contact,0); + tmp:=db_mc_getMeta(FlagBuf[LV_GetLParam(grid,i)].contact); if tmp<>0 then if hMeta=0 then hMeta:=tmp @@ -798,7 +798,7 @@ begin col:=ListViewToColumn(col); if (qsopt.columns[col].setting_type=QST_SETTING) and // right now, not time or IP - (qsopt.columns[col].datatype<>QSTS_IP) and + (qsopt.columns[col].datatype<>QSTS_IP) and (qsopt.columns[col].datatype<>QSTS_TIMESTAMP) then begin doit:=true; @@ -1388,7 +1388,7 @@ procedure SetCellColor(lplvcd:PNMLVCUSTOMDRAW;idx:integer); begin if (qsopt.flags and QSO_COLORIZE)<>0 then begin - with FlagBuf[idx] do + with FlagBuf[idx] do begin if (flags and QSF_ACCDEL)<>0 then begin @@ -1532,7 +1532,7 @@ var count,current,next,perpage:integer; begin result:=0; - case hMessage of + case hMessage of WM_CHAR: if wParam=27 then begin PostMessage(GetParent(Dialog),WM_COMMAND,(BN_CLICKED shl 16)+IDCANCEL,0); -- cgit v1.2.3