Commit b6c28c7b authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dmband: Rename identifiers to remove false implications of type.

parent 284f8618
...@@ -302,8 +302,8 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_LoadBand (LPPERSISTSTREAM if ...@@ -302,8 +302,8 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_LoadBand (LPPERSISTSTREAM if
ERR(": no more memory\n"); ERR(": no more memory\n");
return E_OUTOFMEMORY; return E_OUTOFMEMORY;
} }
memcpy(&pNewBand->pBandHeader, pHeader, sizeof(DMUS_PRIVATE_BAND_ITEM_HEADER)); memcpy(&pNewBand->BandHeader, pHeader, sizeof(DMUS_PRIVATE_BAND_ITEM_HEADER));
pNewBand->ppBand = (IDirectMusicBandImpl*)((char*)(*ppBand) - offsetof(IDirectMusicBandImpl,BandVtbl)); pNewBand->pBand = (IDirectMusicBandImpl*)((char*)(*ppBand) - offsetof(IDirectMusicBandImpl,BandVtbl));
IDirectMusicBand_AddRef(*ppBand); IDirectMusicBand_AddRef(*ppBand);
list_add_tail (&This->Bands, &pNewBand->entry); list_add_tail (&This->Bands, &pNewBand->entry);
} }
......
...@@ -78,8 +78,8 @@ typedef struct _DMUS_PRIVATE_INSTRUMENT { ...@@ -78,8 +78,8 @@ typedef struct _DMUS_PRIVATE_INSTRUMENT {
typedef struct _DMUS_PRIVATE_BAND { typedef struct _DMUS_PRIVATE_BAND {
struct list entry; /* for listing elements */ struct list entry; /* for listing elements */
DMUS_PRIVATE_BAND_ITEM_HEADER pBandHeader; DMUS_PRIVATE_BAND_ITEM_HEADER BandHeader;
IDirectMusicBandImpl* ppBand; IDirectMusicBandImpl* pBand;
} DMUS_PRIVATE_BAND, *LPDMUS_PRIVATE_BAND; } DMUS_PRIVATE_BAND, *LPDMUS_PRIVATE_BAND;
......
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