mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-11 10:10:40 +01:00
* Fixed BCDToStr for values between -1 and 0
git-svn-id: trunk@16952 -
This commit is contained in:
parent
e3885089c6
commit
7b8797afe7
@ -1728,7 +1728,10 @@ IMPLEMENTATION
|
||||
then begin
|
||||
{$ifndef use_ansistring}
|
||||
Inc ( l );
|
||||
result[1] := '0';
|
||||
if Neg then
|
||||
result[2] := '0'
|
||||
else
|
||||
result[1] := '0'
|
||||
{$else}
|
||||
result := result + '0';
|
||||
{$endif}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user