浏览代码

* Patch from Cyrax to initialize search index (bug id 32173)

git-svn-id: trunk@36751 -
michael 8 年之前
父节点
当前提交
d975ec6d0b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/fcl-base/src/custapp.pp

+ 1 - 0
packages/fcl-base/src/custapp.pp

@@ -430,6 +430,7 @@ Var
 begin
 begin
   SetLength(Result,ParamCount);
   SetLength(Result,ParamCount);
   Cnt:=0;
   Cnt:=0;
+  I:=-1;
   Repeat
   Repeat
     I:=FindOptionIndex(C,B,I);
     I:=FindOptionIndex(C,B,I);
     If I<>-1 then
     If I<>-1 then