dlls/winmm/mmio.c

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Thu Sep 8 09:43:04 CDT 2005


According to MSDN lpck->ckid not lpck->fccType specifies the form type to
search for. In fact lpck->fccType may be undefined as is the case when we
call mmioDescend in other parts of the code.

ChangeLog
    Ulrich Czekalla <ulrich at codeweavers.com>
    ckid not fccType specifies the form type to search for

-------------- next part --------------
Index: dlls/winmm/mmio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/mmio.c,v
retrieving revision 1.50
diff -u -p -r1.50 mmio.c
--- dlls/winmm/mmio.c	8 Sep 2005 11:02:15 -0000	1.50
+++ dlls/winmm/mmio.c	8 Sep 2005 13:45:25 -0000
@@ -1173,11 +1173,11 @@ MMRESULT WINAPI mmioDescend(HMMIO hmmio,
     /* find_riff and find_list look for 'fccType' */
     if (uFlags & MMIO_FINDLIST) {
 	srchCkId = FOURCC_LIST;
-	srchType = lpck->fccType;
+	srchType = lpck->ckid;
     }
     if (uFlags & MMIO_FINDRIFF) {
 	srchCkId = FOURCC_RIFF;
-	srchType = lpck->fccType;
+	srchType = lpck->ckid;
     }
 
     if (uFlags & (MMIO_FINDCHUNK|MMIO_FINDLIST|MMIO_FINDRIFF)) {


More information about the wine-patches mailing list