dmstyle: Fix spelling of the DMUS_PRIVATE_STYLE_MOTIF.dwRhythm field.

This commit is contained in:
Francois Gouget 2006-11-07 00:38:49 +01:00 committed by Alexandre Julliard
parent db05fe33a2
commit 580290fdb8
2 changed files with 4 additions and 4 deletions

View File

@ -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 */

View File

@ -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);