Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ab683fee
Commit
ab683fee
authored
Sep 05, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Constify a variable.
parent
b2e2793e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dmusic_main.c
dlls/dmusic/dmusic_main.c
+1
-1
dmusic_private.h
dlls/dmusic/dmusic_private.h
+1
-1
No files found.
dlls/dmusic/dmusic_main.c
View file @
ab683fee
...
...
@@ -187,7 +187,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
*
*/
/* dwPatch from MIDILOCALE */
DWORD
MIDILOCALE2Patch
(
LPMIDILOCALE
pLocale
)
{
DWORD
MIDILOCALE2Patch
(
const
MIDILOCALE
*
pLocale
)
{
DWORD
dwPatch
=
0
;
if
(
!
pLocale
)
return
0
;
dwPatch
|=
(
pLocale
->
ulBank
&
F_INSTRUMENT_DRUMS
);
/* set drum bit */
...
...
dlls/dmusic/dmusic_private.h
View file @
ab683fee
...
...
@@ -266,7 +266,7 @@ typedef struct {
#define GE(x) { &x, #x }
/* dwPatch from MIDILOCALE */
extern
DWORD
MIDILOCALE2Patch
(
LPMIDILOCALE
pLocale
);
extern
DWORD
MIDILOCALE2Patch
(
const
MIDILOCALE
*
pLocale
);
/* MIDILOCALE from dwPatch */
extern
void
Patch2MIDILOCALE
(
DWORD
dwPatch
,
LPMIDILOCALE
pLocale
);
...
...
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