Explorar el Código

compiler: fix typo

git-svn-id: trunk@16645 -
paul hace 14 años
padre
commit
e098046608
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;