* fixed missed setting of return code

git-svn-id: trunk@29002 -
This commit is contained in:
Tomas Hajny 2014-11-06 16:51:15 +00:00
parent fa89dca059
commit 30820cd0e5

View File

@ -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;