Explorar o código

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

git-svn-id: trunk@11458 -
marco %!s(int64=17) %!d(string=hai) anos
pai
achega
dc14080182
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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;