* Fix stringofchar for count<=0

This commit is contained in:
michael 2018-10-17 21:36:40 +00:00
parent 0f607847a6
commit fd98459d58

View File

@ -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;