Module: wine Branch: master Commit: 9ab07d5b3767f34d4f9253fe93d82a572fae843b URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ab07d5b3767f34d4f9253fe93...
Author: Huw Davies huw@codeweavers.com Date: Tue Mar 11 14:15:47 2008 +0000
comctl32: Revert to waiting on just the thread object, since the thread no longer sends messages.
---
dlls/comctl32/animate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c index fb8b65d..0b406b4 100644 --- a/dlls/comctl32/animate.c +++ b/dlls/comctl32/animate.c @@ -161,7 +161,7 @@ static BOOL ANIMATE_DoStop(ANIMATE_INFO *infoPtr) if (infoPtr->threadId != GetCurrentThreadId()) { LeaveCriticalSection(&infoPtr->cs); /* leave it a chance to run */ - MsgWaitForMultipleObjects( 1, &handle, FALSE, INFINITE, QS_ALLINPUT ); + WaitForSingleObject( handle, INFINITE ); TRACE("animation thread stopped\n"); EnterCriticalSection(&infoPtr->cs); }