Commit 580290fd authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

dmstyle: Fix spelling of the DMUS_PRIVATE_STYLE_MOTIF.dwRhythm field.

parent db05fe33
......@@ -76,7 +76,7 @@ typedef struct _DMUS_PRIVATE_STYLE_PARTREF_ITEM {
typedef struct _DMUS_PRIVATE_STYLE_MOTIF {
struct list entry; /* for listing elements */
DWORD dwRythm;
DWORD dwRhythm;
DMUS_IO_PATTERN pattern;
DMUS_OBJECTDESC desc;
/** optional for motifs */
......
......@@ -741,9 +741,9 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST
break;
}
case DMUS_FOURCC_RHYTHM_CHUNK: {
TRACE_(dmfile)(": Rythm chunk\n");
IStream_Read (pStm, &pNewMotif->dwRythm, sizeof(DWORD), NULL);
TRACE_(dmfile)(" - dwRythm: %u\n", pNewMotif->dwRythm);
TRACE_(dmfile)(": Rhythm chunk\n");
IStream_Read (pStm, &pNewMotif->dwRhythm, sizeof(DWORD), NULL);
TRACE_(dmfile)(" - dwRhythm: %u\n", pNewMotif->dwRhythm);
/** TODO understand why some Chunks have size > 4 */
liMove.QuadPart = Chunk.dwSize - sizeof(DWORD);
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
......
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