quartz: Fix handling of periodic advice timers.

This commit is contained in:
Sebastian Lackner 2015-06-07 20:15:20 +02:00 committed by Alexandre Julliard
parent 8ddab2c2f4
commit b513e07c55
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ static DWORD WINAPI SystemClockAdviseThread(LPVOID lpParam) {
it = nextit;
}
if (NULL != it) timeOut = (DWORD) ((it->rtBaseTime + it->rtIntervalTime) - curTime) / (REFERENCE_TIME)10000;
else timeOut = INFINITE;
/** Now Periodics Advice: semi sorted list (sort cannot be used) */
for (it = This->pPeriodicAdvise; NULL != it; it = it->next) {