Sebastian Lackner : quartz: Fix handling of periodic advice timers.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 8 07:49:55 CDT 2015


Module: wine
Branch: master
Commit: b513e07c55504f623baf8d838d00ac628eac7614
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b513e07c55504f623baf8d838d00ac628eac7614

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Sun Jun  7 20:15:20 2015 +0200

quartz: Fix handling of periodic advice timers.

---

 dlls/quartz/systemclock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/quartz/systemclock.c b/dlls/quartz/systemclock.c
index 043299b..cdb06f7 100644
--- a/dlls/quartz/systemclock.c
+++ b/dlls/quartz/systemclock.c
@@ -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) {




More information about the wine-cvs mailing list