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
1dae68e7
Commit
1dae68e7
authored
Feb 18, 2011
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Feb 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Simplify MCI_DumpCommandTable a bit.
parent
798edfec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mci.c
dlls/winmm/mci.c
+2
-2
No files found.
dlls/winmm/mci.c
View file @
1dae68e7
...
...
@@ -625,7 +625,6 @@ static BOOL MCI_DumpCommandTable(UINT uTbl)
{
const
BYTE
*
lmem
;
LPCWSTR
str
;
DWORD
flg
;
WORD
eid
;
if
(
!
MCI_IsCommandTableValid
(
uTbl
))
{
...
...
@@ -636,9 +635,10 @@ static BOOL MCI_DumpCommandTable(UINT uTbl)
lmem
=
S_MciCmdTable
[
uTbl
].
lpTable
;
do
{
do
{
/* DWORD flg; */
str
=
(
LPCWSTR
)
lmem
;
lmem
+=
(
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
);
flg
=
*
(
const
DWORD
*
)
lmem
;
/* flg = *(const DWORD*)lmem; */
eid
=
*
(
const
WORD
*
)(
lmem
+
sizeof
(
DWORD
));
/* TRACE("cmd=%s %08lx %04x\n", debugstr_w(str), flg, eid); */
lmem
+=
sizeof
(
DWORD
)
+
sizeof
(
WORD
);
...
...
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