mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-03 22:20:10 +02:00
* Fix stringofchar for count<=0
This commit is contained in:
parent
0f607847a6
commit
fd98459d58
@ -603,7 +603,7 @@ var
|
||||
i: Integer;
|
||||
begin
|
||||
asm
|
||||
if (c.repeat) return c.repeat(l);
|
||||
if ((l>0) && c.repeat) return c.repeat(l);
|
||||
end;
|
||||
Result:='';
|
||||
for i:=1 to l do Result:=Result+c;
|
||||
|
Loading…
Reference in New Issue
Block a user