From c9b562167558a672fdf762a5e354389b1b21e5b9 Mon Sep 17 00:00:00 2001 From: joost Date: Thu, 1 Jan 2009 21:34:41 +0000 Subject: [PATCH] * ExistsDir must also find hidden directories, so that the local configuration files are found git-svn-id: trunk@12462 - --- ide/wutils.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/wutils.pas b/ide/wutils.pas index d225e025c2..ad7568fff2 100644 --- a/ide/wutils.pas +++ b/ide/wutils.pas @@ -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 }