mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 01:21:47 +00:00
winmm: Simplify MCI_DumpCommandTable a bit.
This commit is contained in:
parent
798edfec16
commit
1dae68e71b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue