Skip to content

Commit e7cd4e4

Browse files
author
David Berneda
authored
Merge pull request #8 from skamradt/master
forEach Correction
2 parents ea60ddb + 6c2ccc7 commit e7cd4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TeeGenericTree.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ procedure TNode<T>.ForEach(const AProc: TNodeProc; const Recursive: Boolean);
275275

276276
t:=0;
277277

278-
while t<Count do
278+
while t<Length(tmp) do
279279
begin
280280
N:=tmp[t];
281281

0 commit comments

Comments
 (0)