mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 14:19:17 +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;
|
if Directory='' then exit;
|
||||||
UpdateListing;
|
UpdateListing;
|
||||||
ListedFiles:=FListing.Files;
|
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)]));
|
Files.Add(PChar(@ListedFiles[FListing.Starts[i]+SizeOf(TCTDirectoryListingTime)]));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -496,7 +496,8 @@ begin
|
|||||||
and (not Quiet) then begin
|
and (not Quiet) then begin
|
||||||
Result:=IDEQuestionDialog(lisDeleteFileFailed,
|
Result:=IDEQuestionDialog(lisDeleteFileFailed,
|
||||||
Format(lisPkgMangUnableToDeleteFile, ['"', Filename, '"']),
|
Format(lisPkgMangUnableToDeleteFile, ['"', Filename, '"']),
|
||||||
mtError,[mrRetry,mrCancel,mrNo,'Skip',mrNoToAll,'Skip errors']);
|
mtError,
|
||||||
|
[mrRetry, mrCancel, mrNo, lisCCOSkip, mrNoToAll, lisSkipErrors]);
|
||||||
if Result=mrNoToAll then begin
|
if Result=mrNoToAll then begin
|
||||||
Quiet:=true;
|
Quiet:=true;
|
||||||
break;
|
break;
|
||||||
|
@ -3581,6 +3581,7 @@ resourcestring
|
|||||||
+'the package, otherwise other packages can get problems using this '
|
+'the package, otherwise other packages can get problems using this '
|
||||||
+'package.%s%sDelete ambiguous file?';
|
+'package.%s%sDelete ambiguous file?';
|
||||||
lisPkgMangUnableToDeleteFile = 'Unable to delete file %s%s%s.';
|
lisPkgMangUnableToDeleteFile = 'Unable to delete file %s%s%s.';
|
||||||
|
lisSkipErrors = 'Skip errors';
|
||||||
lisDeleteAllTheseFiles = 'Delete all these files?';
|
lisDeleteAllTheseFiles = 'Delete all these files?';
|
||||||
lisPkgMangUnsavedPackage = 'Unsaved package';
|
lisPkgMangUnsavedPackage = 'Unsaved package';
|
||||||
lisFpcmakeFailed = 'fpcmake failed';
|
lisFpcmakeFailed = 'fpcmake failed';
|
||||||
|
Loading…
Reference in New Issue
Block a user