Răsfoiți Sursa

* fixed missed setting of return code

git-svn-id: trunk@29002 -
Tomas Hajny 10 ani în urmă
părinte
comite
30820cd0e5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      rtl/os2/dos.pas

+ 1 - 1
rtl/os2/dos.pas

@@ -453,7 +453,7 @@ begin
   DT.Minute := byte (Minute);
   DT.Minute := byte (Minute);
   DT.Second := byte (Second);
   DT.Second := byte (Second);
   DT.Sec100 := byte (Sec100);
   DT.Sec100 := byte (Sec100);
-  DosSetDateTime (DT);
+  RC := DosSetDateTime (DT);
   if RC <> 0 then
   if RC <> 0 then
    OSErrorWatch (RC);
    OSErrorWatch (RC);
 end;
 end;