Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
eb10f347
Commit
eb10f347
authored
Jan 13, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a race that caused the Microsoft Viewers 'file extraction'
animation to sometimes have a pink background.
parent
fc1e5789
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
animate.c
dlls/comctl32/animate.c
+9
-4
No files found.
dlls/comctl32/animate.c
View file @
eb10f347
...
...
@@ -899,10 +899,15 @@ static LRESULT WINAPI ANIMATE_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LP
{
ANIMATE_INFO
*
infoPtr
=
ANIMATE_GetInfoPtr
(
hWnd
);
/* the animation isn't playing, don't paint */
if
(
!
infoPtr
->
uTimer
&&
!
infoPtr
->
hThread
)
/* default paint handling */
return
DefWindowProcA
(
hWnd
,
uMsg
,
wParam
,
lParam
);
/* the animation isn't playing, or has not decompressed
* (and displayed) the first frame yet, don't paint
*/
if
((
!
infoPtr
->
uTimer
&&
!
infoPtr
->
hThread
)
||
!
infoPtr
->
hbmPrevFrame
)
{
/* default paint handling */
return
DefWindowProcA
(
hWnd
,
uMsg
,
wParam
,
lParam
);
}
if
(
GetWindowLongA
(
hWnd
,
GWL_STYLE
)
&
ACS_TRANSPARENT
)
infoPtr
->
hbrushBG
=
(
HBRUSH
)
SendMessageA
(
infoPtr
->
hwndNotify
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment