Skip to content

Commit

Permalink
Bugfix file position: used short-circuit notation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Summo committed Nov 8, 2021
1 parent c99e275 commit 1ca450a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apophysis7x/Forms/About.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ object AboutForm: TAboutForm
Width = 377
Height = 13
AutoSize = False
Caption = 'Unofficial version 2021-10-31 by www.michelesummo.it'
Caption = 'Unofficial version 2021-11-08 by www.michelesummo.it'
end
object Hackers: TLabel
Left = 16
Expand Down
6 changes: 3 additions & 3 deletions apophysis7x/Forms/Main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2033,9 +2033,9 @@ function TMainForm.SaveXMLFlame(const cp1: TControlPoint; title, filename: strin
repeat
if FileList.Count > 0 then
FileList.Delete(FileList.Count - 1);
until (Pos('<' + Tag + '>', FileList[FileList.count - 1]) <> 0) or
(Pos('</flames>', FileList[FileList.count - 1]) <> 0) or
(FileList.Count = 0);
until (FileList.Count = 0) or
(Pos('<' + Tag + '>', FileList[FileList.count - 1]) <> 0) or
(Pos('</flames>', FileList[FileList.count - 1]) <> 0);
end else
begin
FileList.Delete(FileList.Count - 1);
Expand Down

0 comments on commit 1ca450a

Please sign in to comment.