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