* Fix issue ID #38772

git-svn-id: trunk@49225 -
This commit is contained in:
michael 2021-04-18 10:45:47 +00:00
parent f5e5f9645c
commit fe78829b99

View File

@ -245,7 +245,7 @@ begin
Repeat
Result:=Format('%s%.5d.tmp',[Start,I]);
Inc(I);
Until not FileExists(Result);
Until not (FileExists(Result) or DirectoryExists(Result));
end;
end;
{$endif}