Rob Shearman : comctl32: Keep on displaying the last frame of the animation after the animation has stopped .
Alexandre Julliard
julliard at winehq.org
Wed Jan 16 13:19:36 CST 2008
Module: wine
Branch: master
Commit: 92dde895069722f1dcfd8d6f51cf712071142085
URL: http://source.winehq.org/git/wine.git/?a=commit;h=92dde895069722f1dcfd8d6f51cf712071142085
Author: Rob Shearman <rob at codeweavers.com>
Date: Wed Jan 16 14:03:09 2008 +0000
comctl32: Keep on displaying the last frame of the animation after the animation has stopped.
---
dlls/comctl32/animate.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c
index 5e3ffb1..d4283a1 100644
--- a/dlls/comctl32/animate.c
+++ b/dlls/comctl32/animate.c
@@ -903,11 +903,10 @@ static LRESULT WINAPI ANIMATE_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LP
case WM_PRINTCLIENT:
case WM_PAINT:
{
- /* the animation isn't playing, or has not decompressed
+ /* the animation has not decompressed
* (and displayed) the first frame yet, don't paint
*/
- if ((!infoPtr->uTimer && !infoPtr->hThread) ||
- !infoPtr->hbmPrevFrame)
+ if (!infoPtr->hbmPrevFrame)
{
/* default paint handling */
return DefWindowProcW(hWnd, uMsg, wParam, lParam);
More information about the wine-cvs
mailing list