Browse Source

* search using the real package name instead of the uppercased one so that an as-is cased package will be found as well

Sven/Sarah Barth 1 year ago
parent
commit
7163a893e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/fpcp.pas

+ 1 - 1
compiler/fpcp.pas

@@ -197,7 +197,7 @@ implementation
       end;
       end;
 
 
     begin
     begin
-      filename:=packagename^;
+      filename:=realpackagename^;
       result:=search_path_list(packagesearchpath);
       result:=search_path_list(packagesearchpath);
     end;
     end;