Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b6c28c7b
Commit
b6c28c7b
authored
Feb 21, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmband: Rename identifiers to remove false implications of type.
parent
284f8618
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
bandtrack.c
dlls/dmband/bandtrack.c
+2
-2
dmband_private.h
dlls/dmband/dmband_private.h
+2
-2
No files found.
dlls/dmband/bandtrack.c
View file @
b6c28c7b
...
...
@@ -302,8 +302,8 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_LoadBand (LPPERSISTSTREAM if
ERR
(
": no more memory
\n
"
);
return
E_OUTOFMEMORY
;
}
memcpy
(
&
pNewBand
->
p
BandHeader
,
pHeader
,
sizeof
(
DMUS_PRIVATE_BAND_ITEM_HEADER
));
pNewBand
->
p
p
Band
=
(
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
);
}
...
...
dlls/dmband/dmband_private.h
View file @
b6c28c7b
...
...
@@ -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
p
BandHeader
;
IDirectMusicBandImpl
*
p
p
Band
;
DMUS_PRIVATE_BAND_ITEM_HEADER
BandHeader
;
IDirectMusicBandImpl
*
pBand
;
}
DMUS_PRIVATE_BAND
,
*
LPDMUS_PRIVATE_BAND
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment