diff options
Diffstat (limited to 'plugins/QuickSearch/i_ok.inc')
-rw-r--r-- | plugins/QuickSearch/i_ok.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/QuickSearch/i_ok.inc b/plugins/QuickSearch/i_ok.inc index 08bfafab09..52c617b66d 100644 --- a/plugins/QuickSearch/i_ok.inc +++ b/plugins/QuickSearch/i_ok.inc @@ -267,7 +267,6 @@ var dbei:TDBEVENTINFO;
b:bool;
begin
- FillChar(res,SizeOf(tQSRec),0);
res.data:=uint_ptr(-1);
mFreeMem(res.text);
with column^ do
@@ -494,7 +493,7 @@ begin SetLength(MainBuf,cnt,qsopt.numcolumns);
SetLength(FlagBuf,cnt);
- for i:=0 to cnt1-1 do
+ for i:=0 to cnt-1 do
FillChar(MainBuf[i][0],qsopt.numcolumns*SizeOf(tQSRec),0);
for i:=0 to qsopt.numcolumns-1 do
|