mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* patch from Vincent to fix TReader.ReadCollection calling clear() logic
git-svn-id: trunk@11348 -
This commit is contained in:
parent
f07b132292
commit
3195d8bd79
@ -740,7 +740,8 @@ var
|
||||
Item: TCollectionItem;
|
||||
begin
|
||||
Collection.BeginUpdate;
|
||||
Collection.Clear;
|
||||
if not EndOfList then
|
||||
Collection.Clear;
|
||||
while not EndOfList do begin
|
||||
ReadListBegin;
|
||||
Item := Collection.Add;
|
||||
|
Loading…
Reference in New Issue
Block a user