lcl: skip directories from GetTempFileName (from v-t-l)

git-svn-id: trunk@15540 -
This commit is contained in:
paul 2008-06-23 13:54:35 +00:00
parent 067fa7a973
commit 2bdf444a61

View File

@ -1115,7 +1115,7 @@ begin
i:=1;
repeat
Result:=CurPath+IntToStr(i)+'.tmp';
if not FileExists(Result) then exit;
if not (FileExists(Result) or DirectoryExists(Result)) then exit;
inc(i);
until false;
end;