Module: wine Branch: master Commit: b6c28c7b72d5d413e9fb8ef9627865bfa0fe5a6b URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6c28c7b72d5d413e9fb8ef962...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Thu Feb 21 22:11:31 2008 +0000
dmband: Rename identifiers to remove false implications of type.
---
dlls/dmband/bandtrack.c | 4 ++-- dlls/dmband/dmband_private.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/dmband/bandtrack.c b/dlls/dmband/bandtrack.c index ccb0c69..f85d096 100644 --- a/dlls/dmband/bandtrack.c +++ b/dlls/dmband/bandtrack.c @@ -302,8 +302,8 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_LoadBand (LPPERSISTSTREAM if ERR(": no more memory\n"); return E_OUTOFMEMORY; } - memcpy(&pNewBand->pBandHeader, pHeader, sizeof(DMUS_PRIVATE_BAND_ITEM_HEADER)); - pNewBand->ppBand = (IDirectMusicBandImpl*)((char*)(*ppBand) - offsetof(IDirectMusicBandImpl,BandVtbl)); + memcpy(&pNewBand->BandHeader, pHeader, sizeof(DMUS_PRIVATE_BAND_ITEM_HEADER)); + pNewBand->pBand = (IDirectMusicBandImpl*)((char*)(*ppBand) - offsetof(IDirectMusicBandImpl,BandVtbl)); IDirectMusicBand_AddRef(*ppBand); list_add_tail (&This->Bands, &pNewBand->entry); } diff --git a/dlls/dmband/dmband_private.h b/dlls/dmband/dmband_private.h index f18f8f4..46a4d07 100644 --- a/dlls/dmband/dmband_private.h +++ b/dlls/dmband/dmband_private.h @@ -78,8 +78,8 @@ typedef struct _DMUS_PRIVATE_INSTRUMENT {
typedef struct _DMUS_PRIVATE_BAND { struct list entry; /* for listing elements */ - DMUS_PRIVATE_BAND_ITEM_HEADER pBandHeader; - IDirectMusicBandImpl* ppBand; + DMUS_PRIVATE_BAND_ITEM_HEADER BandHeader; + IDirectMusicBandImpl* pBand; } DMUS_PRIVATE_BAND, *LPDMUS_PRIVATE_BAND;