Browse Source

amiga-m68k: minimal tweaks and formatting to the dos unit

git-svn-id: trunk@44416 -
Károly Balogh 5 years ago
parent
commit
3031a4da31
1 changed files with 5 additions and 5 deletions
  1. 5 5
      rtl/amicommon/dos.pp

+ 5 - 5
rtl/amicommon/dos.pp

@@ -230,7 +230,7 @@ begin
   dosSetProtection:=SetProtection(buffer,mask) <> 0;
 end;
 
-function dosSetFileDate(name: string; p : PDateStamp): Boolean;
+function dosSetFileDate(const name: string; p : PDateStamp): Boolean;
 var
   buffer : array[0..255] of Char;
 begin
@@ -405,11 +405,11 @@ begin
     tr^.tr_node.io_Command := TR_GETSYSTIME;
     DoIO(pIORequest(tr));
 
-   { structure assignment }
-   tv^ := tr^.tr_time;
+    { structure assignment }
+    tv^ := tr^.tr_time;
 
-   delete_timer(tr);
-   get_sys_time := 0;
+    delete_timer(tr);
+    get_sys_time := 0;
 end;
 
 procedure GetDate(Var Year, Month, MDay, WDay: Word);