Ver código fonte

* removed beautifying (camelcasing) of main module filename on *nix. Fixed #5614

git-svn-id: trunk@11458 -
marco 17 anos atrás
pai
commit
dc14080182
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      ide/fpcompil.pas

+ 5 - 0
ide/fpcompil.pas

@@ -843,8 +843,13 @@ begin
       else
         FileName:='';
     end;
+  {$ifdef Unix}
+  If (FileName<>'') then
+    FileName:=FExpand(FileName);
+  {$else}
   If (FileName<>'') then
     FileName:=FixFileName(FExpand(FileName));
+  {$endif}
   GetMainFile:=FileName;
 end;