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
979e3069
Commit
979e3069
authored
Nov 26, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Avoid capitalized field names in IDirectMusicStyle8Impl.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a2248247
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
style.c
dlls/dmstyle/style.c
+6
-6
No files found.
dlls/dmstyle/style.c
View file @
979e3069
...
...
@@ -32,8 +32,8 @@ typedef struct IDirectMusicStyle8Impl {
struct
dmobject
dmobj
;
LONG
ref
;
DMUS_IO_STYLE
style
;
struct
list
M
otifs
;
struct
list
B
ands
;
struct
list
m
otifs
;
struct
list
b
ands
;
}
IDirectMusicStyle8Impl
;
static
inline
IDirectMusicStyle8Impl
*
impl_from_IDirectMusicStyle8
(
IDirectMusicStyle8
*
iface
)
...
...
@@ -539,7 +539,7 @@ static HRESULT parse_pattern_list(IDirectMusicStyle8Impl *This, DMUS_PRIVATE_CHU
ERR
(
": no more memory
\n
"
);
return
E_OUTOFMEMORY
;
}
list_add_tail
(
&
This
->
M
otifs
,
&
pNewMotif
->
entry
);
list_add_tail
(
&
This
->
m
otifs
,
&
pNewMotif
->
entry
);
IStream_Read
(
pStm
,
&
pNewMotif
->
pattern
,
Chunk
.
dwSize
,
NULL
);
/** TODO trace pattern */
...
...
@@ -739,7 +739,7 @@ static HRESULT parse_style_form(IDirectMusicStyle8Impl *This, DMUS_PRIVATE_CHUNK
}
pNewBand
->
pBand
=
pBand
;
IDirectMusicBand_AddRef
(
pBand
);
list_add_tail
(
&
This
->
B
ands
,
&
pNewBand
->
entry
);
list_add_tail
(
&
This
->
b
ands
,
&
pNewBand
->
entry
);
IDirectMusicTrack_Release
(
pBand
);
pBand
=
NULL
;
/* now we can release it as it's inserted */
...
...
@@ -893,8 +893,8 @@ HRESULT WINAPI create_dmstyle(REFIID lpcGUID, void **ppobj)
dmobject_init
(
&
obj
->
dmobj
,
&
CLSID_DirectMusicStyle
,
(
IUnknown
*
)
&
obj
->
IDirectMusicStyle8_iface
);
obj
->
dmobj
.
IDirectMusicObject_iface
.
lpVtbl
=
&
dmobject_vtbl
;
obj
->
dmobj
.
IPersistStream_iface
.
lpVtbl
=
&
persiststream_vtbl
;
list_init
(
&
obj
->
B
ands
);
list_init
(
&
obj
->
M
otifs
);
list_init
(
&
obj
->
b
ands
);
list_init
(
&
obj
->
m
otifs
);
DMSTYLE_LockModule
();
hr
=
IDirectMusicStyle8_QueryInterface
(
&
obj
->
IDirectMusicStyle8_iface
,
lpcGUID
,
ppobj
);
...
...
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