Explorar el Código

* Fix bug #20791

git-svn-id: trunk@19795 -
michael hace 13 años
padre
commit
3e3852a489
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/fcl-passrc/src/pscanner.pp

+ 1 - 1
packages/fcl-passrc/src/pscanner.pp

@@ -521,7 +521,7 @@ begin
       Inc(I);
       end;
     // search in BaseDirectory
-    if BaseDirectory<>'' then
+    if (Result=Nil) and (BaseDirectory<>'') then
       begin
       FN:=SearchLowUpCase(BaseDirectory+AName);
 	  try