Skip to content

Commit

Permalink
fixed: "00" must be replaced before "0" #204 (#241)
Browse files Browse the repository at this point in the history
I have responded to mike's comment. 00 must be replaced before 0.


2b56510#r138520966
  • Loading branch information
w7sst authored Feb 13, 2024
2 parents f05e613 + d59b152 commit fb6d991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Station.pas
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ function TStation.NrAsText: string;
(MyCall <> Ini.Call) then
begin
if Random < 0.4 then begin
Result := StringReplace(Result, '0', 'O', [rfReplaceAll]);
Result := StringReplace(Result, '00', 'TT', [rfReplaceAll]);
Result := StringReplace(Result, '0', 'O', [rfReplaceAll]);
end
else if Random < 0.8
then Result := StringReplace(Result, '0', 'T', [rfReplaceAll]);
Expand Down

0 comments on commit fb6d991

Please sign in to comment.