Browse Source

reverted the link object search change

git-svn-id: trunk@24727 -
Károly Balogh 12 years ago
parent
commit
a11c113429
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/link.pas

+ 2 - 2
compiler/link.pas

@@ -210,8 +210,8 @@ Implementation
          begin
          begin
            if FileExists(FixFileName(s),false) then
            if FileExists(FixFileName(s),false) then
             begin
             begin
-              findobjectfile:=ScriptFixFileName(s);
-              exit;
+              foundfile:=ScriptFixFileName(s);
+              found:=true;
             end;
             end;
          end;
          end;
         if pos('.',s)=0 then
         if pos('.',s)=0 then