فهرست منبع

Merged revisions 12462 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r12462 | joost | 2009-01-01 22:34:41 +0100 (Thu, 01 Jan 2009) | 1 line

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

git-svn-id: branches/fixes_2_2@12466 -

joost 16 سال پیش
والد
کامیت
ec0bf6cf78
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ide/wutils.pas

+ 1 - 1
ide/wutils.pas

@@ -1194,7 +1194,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 }