Jelajahi Sumber

* Fixed bug in ExeSearch, noted by Tomas

git-svn-id: trunk@19380 -
michael 14 tahun lalu
induk
melakukan
c1ff89a7c2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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}