Commit 613cf578 authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

ckid not fccType specifies the form type to search for.

parent 1103e716
...@@ -1173,11 +1173,11 @@ MMRESULT WINAPI mmioDescend(HMMIO hmmio, LPMMCKINFO lpck, ...@@ -1173,11 +1173,11 @@ MMRESULT WINAPI mmioDescend(HMMIO hmmio, LPMMCKINFO lpck,
/* find_riff and find_list look for 'fccType' */ /* find_riff and find_list look for 'fccType' */
if (uFlags & MMIO_FINDLIST) { if (uFlags & MMIO_FINDLIST) {
srchCkId = FOURCC_LIST; srchCkId = FOURCC_LIST;
srchType = lpck->fccType; srchType = lpck->ckid;
} }
if (uFlags & MMIO_FINDRIFF) { if (uFlags & MMIO_FINDRIFF) {
srchCkId = FOURCC_RIFF; srchCkId = FOURCC_RIFF;
srchType = lpck->fccType; srchType = lpck->ckid;
} }
if (uFlags & (MMIO_FINDCHUNK|MMIO_FINDLIST|MMIO_FINDRIFF)) { if (uFlags & (MMIO_FINDCHUNK|MMIO_FINDLIST|MMIO_FINDRIFF)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment