mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 05:59:19 +02:00
codetools: TCTDirectoryCache.GetFiles: fixed last file
git-svn-id: trunk@30987 -
This commit is contained in:
parent
f4ccf88085
commit
ced61b53b4
@ -1254,7 +1254,7 @@ begin
|
||||
if Directory='' then exit;
|
||||
UpdateListing;
|
||||
ListedFiles:=FListing.Files;
|
||||
for i:=0 to FListing.Count do
|
||||
for i:=0 to FListing.Count-1 do
|
||||
Files.Add(PChar(@ListedFiles[FListing.Starts[i]+SizeOf(TCTDirectoryListingTime)]));
|
||||
end;
|
||||
|
||||
|
@ -496,7 +496,8 @@ begin
|
||||
and (not Quiet) then begin
|
||||
Result:=IDEQuestionDialog(lisDeleteFileFailed,
|
||||
Format(lisPkgMangUnableToDeleteFile, ['"', Filename, '"']),
|
||||
mtError,[mrRetry,mrCancel,mrNo,'Skip',mrNoToAll,'Skip errors']);
|
||||
mtError,
|
||||
[mrRetry, mrCancel, mrNo, lisCCOSkip, mrNoToAll, lisSkipErrors]);
|
||||
if Result=mrNoToAll then begin
|
||||
Quiet:=true;
|
||||
break;
|
||||
|
@ -3581,6 +3581,7 @@ resourcestring
|
||||
+'the package, otherwise other packages can get problems using this '
|
||||
+'package.%s%sDelete ambiguous file?';
|
||||
lisPkgMangUnableToDeleteFile = 'Unable to delete file %s%s%s.';
|
||||
lisSkipErrors = 'Skip errors';
|
||||
lisDeleteAllTheseFiles = 'Delete all these files?';
|
||||
lisPkgMangUnsavedPackage = 'Unsaved package';
|
||||
lisFpcmakeFailed = 'fpcmake failed';
|
||||
|
Loading…
Reference in New Issue
Block a user