Browse Source

* And yet another extra test plus fix

git-svn-id: trunk@12335 -
michael 16 years ago
parent
commit
a469e84820
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/sysutils/sysstr.inc

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

@@ -2201,7 +2201,7 @@ Var
                 Else
                   Buf[0] := Digits[Dig];
                 Inc(Buf);
-                If thousand And (DigitExponent Mod 3 = 0) And (DigitExponent > 0) Then
+                If thousand And (DigitExponent Mod 3 = 0) And (DigitExponent > 0) and (Digits[Dig]<>'-') Then
                   Begin
                   Buf[0] := FormatSettings.ThousandSeparator;
                   Inc(Buf);