mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-27 03:29:22 +02:00
* fix for 9588
git-svn-id: trunk@8366 -
This commit is contained in:
parent
b8c3dc960d
commit
d539d9c54d
@ -45,7 +45,10 @@ end;
|
||||
|
||||
procedure TBits.setSize(value : longint);
|
||||
begin
|
||||
grow(value - 1);
|
||||
if value=0 then
|
||||
grow(0) // truncate
|
||||
else
|
||||
grow(value - 1);
|
||||
end;
|
||||
|
||||
procedure TBits.SetBit(bit : longint; value : Boolean);
|
||||
|
Loading…
Reference in New Issue
Block a user