소스 검색

fixed the handling of DecimalSeparator (WARNING: there were two statements in the same line)

silverio.di 1 개월 전
부모
커밋
fed7287b0c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Src/Stage.Utils.pas

+ 1 - 1
Src/Stage.Utils.pas

@@ -221,7 +221,7 @@ var
   DSeparator: Char;
   fs: TFormatSettings;
 begin
-  DSeparator := fs.DecimalSeparator;                                                                                                   fs.DecimalSeparator := ',';
+  DSeparator := fs.DecimalSeparator;
   try
     fs.DecimalSeparator := ',';
     if not TryStrToFloat(S, Result, fs) then