Browse Source

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

git-svn-id: trunk@12462 -
joost 16 years ago
parent
commit
c9b5621675
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ide/wutils.pas

+ 1 - 1
ide/wutils.pas

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