summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-01-02 10:19:14 +0000
committerjoost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-01-02 10:19:14 +0000
commitb0cef580e8f2493a51ea7043a36d6d6fd67c6389 (patch)
treec075ad66e754289f58f35dbfe255e065a544fa3b
parentf802fd74c70702466ed842a66763384df75e1335 (diff)
downloadfpc-b0cef580e8f2493a51ea7043a36d6d6fd67c6389.tar.gz
Merged revisions 12462 via svnmerge from
svn+ssh://joost@svn.freepascal.org/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: http://svn.freepascal.org/svn/fpc/branches/fixes_2_2@12466 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--ide/wutils.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide/wutils.pas b/ide/wutils.pas
index f9eb666d95..41bbe87ae1 100644
--- a/ide/wutils.pas
+++ b/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 }