Skip to content

Commit d4e9ca4

Browse files
committed
refactor: Latest changes from _sbalazs_
1 parent cde1aed commit d4e9ca4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

entries/sbalazs/src/uweatherstations.pas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,8 @@ procedure TWSThreadsWatcher.CreateFinalList;
544544
Continue;
545545
SetString(Name, Pointer(@WS.FStation[0]), Length(WS.FStation));
546546
SetCodePage(Name, CP_UTF8, True);
547-
Min := RoundEx(WS.FData.FMin/10);
548-
Max := RoundEx(WS.FData.FMax/10);
547+
Min := WS.FData.FMin/10;
548+
Max := WS.FData.FMax/10;
549549
Mean := RoundEx(WS.FData.FTot/WS.FData.FCnt/10);
550550
Str := Name + '=' + FormatFloat('0.0', Min) + '/' + FormatFloat('0.0', Mean) + '/' + FormatFloat('0.0', Max) + ',';
551551
SL.Add(Str);
@@ -618,8 +618,8 @@ procedure TWSThreadsWatcher.Execute;
618618
AddLineBreak(Bytes);
619619
WSThread := TWSThread.Create(Bytes, FWSManager);
620620
WSThread.Start;
621-
while not WSThread.FStarted do
622-
Wait(10);
621+
while not WSThread.FStarted do
622+
Wait(10);
623623
end;
624624
until (ReadCnt = 0);
625625
finally

0 commit comments

Comments
 (0)