git-svn-id: trunk@16979 -
@@ -1719,7 +1719,7 @@ IMPLEMENTATION
then begin
{$ifndef use_ansistring}
Inc ( l );
- result[1] := '-';
+ result[l] := '-';
{$else}
result := result + '-';
{$endif}
@@ -1728,10 +1728,7 @@ IMPLEMENTATION
- if Neg then
- result[2] := '0'
- else
- result[1] := '0'
+ result[l] := '0';
result := result + '0';