Explorar el Código

* Fix bug ID #26944 (thousandseparator, patch from wp)

git-svn-id: trunk@33343 -
michael hace 9 años
padre
commit
bcdfe055a8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      rtl/objpas/sysutils/sysstr.inc

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

@@ -1483,7 +1483,7 @@ Begin
         if Negative then
           System.Delete(Result, 1, 1);
         P := Pos('.', Result);
-        If P <> 0 Then Result[P] := DS;
+        If P <> 0 Then Result[P] := DS else P := Length(Result)+1;
         Dec(P, 3);
         While (P > 1) Do
         Begin