Browse Source

* amiga path fix (merged)

peter 22 years ago
parent
commit
7391487daa
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/globals.pas

+ 5 - 2
compiler/globals.pas

@@ -821,7 +821,7 @@ implementation
             if (CurrentDir<>'') and (Copy(CurrPath,1,length(CurrentDir))=CurrentDir) then
             if (CurrentDir<>'') and (Copy(CurrPath,1,length(CurrentDir))=CurrentDir) then
              begin
              begin
 {$ifdef AMIGA}
 {$ifdef AMIGA}
-               CurrPath:=Copy(CurrPath,length(CurrentDir)+1,255);
+               CurrPath:=CurrentDir+Copy(CurrPath,length(CurrentDir)+1,255);
 {$else}
 {$else}
                CurrPath:='.'+source_info.DirSep+Copy(CurrPath,length(CurrentDir)+1,255);
                CurrPath:='.'+source_info.DirSep+Copy(CurrPath,length(CurrentDir)+1,255);
 {$endif}
 {$endif}
@@ -1526,7 +1526,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.82  2003-01-12 15:42:23  peter
+  Revision 1.83  2003-01-30 21:45:53  peter
+    * amiga path fix (merged)
+
+  Revision 1.82  2003/01/12 15:42:23  peter
     * m68k pathexist update from 1.0.x
     * m68k pathexist update from 1.0.x
     * palmos res update from 1.0.x
     * palmos res update from 1.0.x