浏览代码

* Fixed bug in ExeSearch, noted by Tomas

git-svn-id: trunk@19380 -
michael 14 年之前
父节点
当前提交
c1ff89a7c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/objpas/sysutils/sysutils.inc

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

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