Browse Source

* Fixed bug in ExeSearch, noted by Tomas

git-svn-id: trunk@19380 -
michael 14 years ago
parent
commit
c1ff89a7c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/sysutils/sysutils.inc

+ 1 - 1
rtl/objpas/sysutils/sysutils.inc

@@ -79,7 +79,7 @@
     {$else unix}
       O:=[sfoImplicitCurrentDir,sfoStripQuotes];
     {$endif unix}
-      Result := FileSearch(Name, D, False);
+      Result := FileSearch(Name, D, O);
     end;
 
   {$ifndef OS_FILEISREADONLY}