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
a938cbf5
Commit
a938cbf5
authored
Mar 24, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmcompos: Use HIWORD / LOWORD instead of open coding them.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
84cd9043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
dmcompos_main.c
dlls/dmcompos/dmcompos_main.c
+7
-5
No files found.
dlls/dmcompos/dmcompos_main.c
View file @
a938cbf5
...
...
@@ -224,11 +224,13 @@ const char *debugstr_fourcc (DWORD fourcc) {
}
/* DMUS_VERSION struct to string conversion for debug messages */
static
const
char
*
debugstr_dmversion
(
const
DMUS_VERSION
*
version
)
{
if
(
!
version
)
return
"'null'"
;
return
wine_dbg_sprintf
(
"
\'
%i,%i,%i,%i
\'
"
,
(
int
)((
version
->
dwVersionMS
&
0xFFFF0000
)
>>
8
),
(
int
)(
version
->
dwVersionMS
&
0x0000FFFF
),
(
int
)((
version
->
dwVersionLS
&
0xFFFF0000
)
>>
8
),
(
int
)(
version
->
dwVersionLS
&
0x0000FFFF
));
static
const
char
*
debugstr_dmversion
(
const
DMUS_VERSION
*
version
)
{
if
(
!
version
)
return
"'null'"
;
return
wine_dbg_sprintf
(
"'%hu,%hu,%hu,%hu'"
,
HIWORD
(
version
->
dwVersionMS
),
LOWORD
(
version
->
dwVersionMS
),
HIWORD
(
version
->
dwVersionLS
),
LOWORD
(
version
->
dwVersionLS
));
}
/* returns name of given GUID */
...
...
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