瀏覽代碼

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