dlls/comctl32/animate.c fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

with this patch the final animate controll is displayed correctly in
FreeSolitaire.

Changelog:
    Michael Stefaniuc <mstefani@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@redhat.de
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
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");

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux