Comment fixes.

This commit is contained in:
Martijn Laan 2025-06-12 17:55:25 +02:00
parent 7b843216aa
commit 92b26afd0c
No known key found for this signature in database
GPG Key ID: E2DD568CF6098F6A
2 changed files with 3 additions and 3 deletions

View File

@ -1558,7 +1558,7 @@ var
AllowFileToBeDuplicated := False;
end;
{ Extract or copy the file to a temporary file. Create the destination
{ Download or extract or copy the file to a temporary file. Create the destination
file's directory if it didn't already exist. }
LastOperation := SetupMessages[msgErrorCreatingTemp];
TempFile := GenerateUniqueName(DisableFsRedir, PathExtractPath(DestFile), '.tmp');
@ -2178,7 +2178,7 @@ var
InternalError('Unexpected SkipIfSourceDoesntExist flag');
if not(foCustomDestName in CurFile^.Options) then
InternalError('Expected CustomDestName flag');
{ CurFile^.DestName now includes a a filename, see TSetupCompiler.EnumFilesProc.ProcessFileList }
{ CurFile^.DestName now includes a filename, see TSetupCompiler.EnumFilesProc.ProcessFileList }
ProcessFileEntry(CurFile, DisableFsRedir, SourceWildcard, ExpandConst(CurFile^.DestName),
nil, ExpectedBytesLeft, ConfirmOverwriteOverwriteAll, PromptIfOlderOverwriteAll,
WarnedPerUserFonts, nil);

View File

@ -1870,7 +1870,7 @@ begin
if foDownload in CurFile^.Options then begin
if not(foCustomDestName in CurFile^.Options) then
InternalError('Expected CustomDestName flag');
{ CurFile^.DestName now includes a a filename, see TSetupCompiler.EnumFilesProc.ProcessFileList }
{ CurFile^.DestName now includes a filename, see TSetupCompiler.EnumFilesProc.ProcessFileList }
if not EnumFilesProc(DisableFsRedir, ExpandConst(CurFile^.DestName), Param) then
Exit(False);
end else begin