瀏覽代碼

* 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 年之前
父節點
當前提交
7163a893e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;