소스 검색

* fix bug in .find (copy-and-paste?) mentioned by Ludo in #22273

git-svn-id: trunk@21635 -
marco 13 년 전
부모
커밋
72ab1e632c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-json/src/fpjson.pp

+ 1 - 1
packages/fcl-json/src/fpjson.pp

@@ -2158,7 +2158,7 @@ Var
 
 begin
   I:=IndexOfName(AName);
-  If (I=-1) then
+  If (I<>-1) then
     Result:=Items[i]
   else
     Result:=Nil;