Parcourir la source

compiler: fix typo

git-svn-id: trunk@16645 -
paul il y a 14 ans
Parent
commit
e098046608
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

@@ -1383,7 +1383,7 @@ implementation
                        begin
                          found:=false;
                          for i := 0 to pd.parast.SymList.Count - 1 do
-                           if tparavarsym(pd.parast.SymList[0]).vardef=pd.struct then
+                           if tparavarsym(pd.parast.SymList[i]).vardef=pd.struct then
                              begin
                                found:=true;
                                break;