sys_macosx: fix adjustment correction after step

The desired offset was being added to the current time instead of being
subtracted.
This commit is contained in:
Bryan Christianson 2015-12-09 20:11:06 +13:00 committed by Miroslav Lichvar
parent fe502128b8
commit 2d9486ec7c

View file

@ -248,7 +248,7 @@ apply_step_offset(double offset)
return 0; return 0;
} }
UTI_AddDoubleToTimeval(&T0, offset, &T1); UTI_AddDoubleToTimeval(&T0, -offset, &T1);
T0 = T1; T0 = T1;
start_adjust(); start_adjust();