Sfoglia il codice sorgente

* fixed missed setting of return code

git-svn-id: trunk@29002 -
Tomas Hajny 11 anni fa
parent
commit
30820cd0e5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      rtl/os2/dos.pas

+ 1 - 1
rtl/os2/dos.pas

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