Skip to content

Commit

Permalink
Fixed some issues in review #192 #187
Browse files Browse the repository at this point in the history
  • Loading branch information
jr8ppg committed Feb 28, 2023
1 parent e2a58fe commit d640c2d
Show file tree
Hide file tree
Showing 7 changed files with 3,805 additions and 3,803 deletions.
5 changes: 3 additions & 2 deletions ACAG.pas
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ implementation

function TACAG.LoadCallHistory(const AUserCallsign : string) : boolean;
const
DelimitChar: char = #09;
DelimitChar: char = ',';
var
slst, tl: TStringList;
i: integer;
Expand All @@ -69,7 +69,7 @@ function TACAG.LoadCallHistory(const AUserCallsign : string) : boolean;
try
CallList.Clear;

slst.LoadFromFile(ParamStr(1) + 'DIC_ACAG.TXT');
slst.LoadFromFile(ParamStr(1) + 'JARL_ACAG.TXT');

for i:= 0 to slst.Count-1 do begin
if (slst.Strings[i].StartsWith('!!Order!!')) then continue;
Expand Down Expand Up @@ -97,6 +97,7 @@ function TACAG.LoadCallHistory(const AUserCallsign : string) : boolean;
finally
slst.Free;
tl.Free;
if rec <> nil then rec.Free;
end;
end;

Expand Down
5 changes: 3 additions & 2 deletions ALLJA.pas
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ implementation

function TALLJA.LoadCallHistory(const AUserCallsign : string) : boolean;
const
DelimitChar: char = #09;
DelimitChar: char = ',';
var
slst, tl: TStringList;
i: integer;
Expand All @@ -69,7 +69,7 @@ function TALLJA.LoadCallHistory(const AUserCallsign : string) : boolean;
try
CallList.Clear;

slst.LoadFromFile(ParamStr(1) + 'DIC_ALLJA.TXT');
slst.LoadFromFile(ParamStr(1) + 'JARL_ALLJA.TXT');

for i:= 0 to slst.Count-1 do begin
if (slst.Strings[i].StartsWith('!!Order!!')) then continue;
Expand Down Expand Up @@ -97,6 +97,7 @@ function TALLJA.LoadCallHistory(const AUserCallsign : string) : boolean;
finally
slst.Free;
tl.Free;
if rec <> nil then rec.Free;
end;
end;

Expand Down
Loading

0 comments on commit d640c2d

Please sign in to comment.