Sfoglia il codice sorgente

* 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 anno fa
parent
commit
7163a893e9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/fpcp.pas

+ 1 - 1
compiler/fpcp.pas

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