* ExistsDir must also find hidden directories, so that the local configuration files are found

git-svn-id: trunk@12462 -
This commit is contained in:
joost 2009-01-01 21:34:41 +00:00
parent fe3263eb08
commit c9b5621675

View File

@ -1198,7 +1198,7 @@ function ExistsDir(const DirName: string): boolean;
var
Dir : SearchRec;
begin
Dos.FindFirst(TrimEndSlash(DirName),Directory,Dir);
Dos.FindFirst(TrimEndSlash(DirName),anyfile,Dir);
{ if a file is found it is also reported
at least for some Dos version
so we need to check the attributes PM }