Преглед изворни кода

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