소스 검색

* And yet another extra test plus fix

git-svn-id: trunk@12335 -
michael 17 년 전
부모
커밋
a469e84820
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);