2
0
Alligator-1 1 жил өмнө
parent
commit
10dd493057

+ 1 - 1
rtl/objpas/sysutils/sysformt.inc

@@ -275,7 +275,7 @@ begin
               If (Prec<>-1) and (Index>Prec) then
                 begin
                 Index:=Prec;
-                ToAdd:=Copy(ToAdd,1,Index);
+                SetLength(ToAdd,Index);
                 end;
               end;
         'D' : begin