Skip to content

Commit

Permalink
Update jtemplate.pas
Browse files Browse the repository at this point in the history
A strange and annoying bug. How did no one notice before?
  • Loading branch information
Al-Muhandis authored Jan 27, 2024
1 parent bcd648a commit e6621cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/jtemplate/src/jtemplate.pas
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ procedure TJTemplate.SaveToStream(AStream: TStream);

procedure TJTemplate.SaveToFile(const AFileName: TFileName);
begin
FStream.LoadFromFile(AFileName);
FStream.SaveToFile(AFileName);
end;

end.

0 comments on commit e6621cd

Please sign in to comment.