dlls/comctl32/animate.c fixes
Michael Stefaniuc
mstefani at redhat.de
Wed Dec 26 14:46:43 CST 2001
Hello,
with this patch the final animate controll is displayed correctly in
FreeSolitaire.
Changelog:
Michael Stefaniuc <mstefani at redhat.com>
if the fccHandler is mmioFOURCC(0, 0, 0, 0) the AVI is also uncompressed
infoPtr->hWnd wasn't updated in ANIMATE_OpenA
--
Michael Stefaniuc Tel.: +49-711-96437-199
System Administration Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.de
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
Index: dlls/comctl32/animate.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/animate.c,v
retrieving revision 1.34
diff -u -r1.34 animate.c
--- dlls/comctl32/animate.c 2001/08/18 16:09:19 1.34
+++ dlls/comctl32/animate.c 2001/12/26 18:49:35
@@ -616,7 +616,8 @@
/* check uncompressed AVI */
if ((infoPtr->ash.fccHandler == mmioFOURCC('D', 'I', 'B', ' ')) ||
- (infoPtr->ash.fccHandler == mmioFOURCC('R', 'L', 'E', ' ')))
+ (infoPtr->ash.fccHandler == mmioFOURCC('R', 'L', 'E', ' ')) ||
+ (infoPtr->ash.fccHandler == mmioFOURCC(0, 0, 0, 0)))
{
infoPtr->hic = 0;
return TRUE;
@@ -665,6 +666,7 @@
HINSTANCE hInstance = (HINSTANCE)wParam;
ANIMATE_Free(infoPtr);
+ infoPtr->hWnd = hWnd;
if (!lParam) {
TRACE("Closing avi!\n");
More information about the wine-patches
mailing list