mciseq: Remove unneeded assignments.
This commit is contained in:
parent
99cb916de6
commit
1d7318a436
|
@ -412,7 +412,7 @@ static DWORD MIDI_mciReadMTrk(WINE_MCIMIDI* wmm, MCI_MIDITRACK* mmt)
|
||||||
} else {
|
} else {
|
||||||
len = MultiByteToWideChar( CP_ACP, 0, buf, -1, NULL, 0 );
|
len = MultiByteToWideChar( CP_ACP, 0, buf, -1, NULL, 0 );
|
||||||
wmm->lpstrCopyright = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) );
|
wmm->lpstrCopyright = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) );
|
||||||
len = MultiByteToWideChar( CP_ACP, 0, buf, -1, wmm->lpstrCopyright, len );
|
MultiByteToWideChar( CP_ACP, 0, buf, -1, wmm->lpstrCopyright, len );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0x03:
|
case 0x03:
|
||||||
|
@ -421,7 +421,7 @@ static DWORD MIDI_mciReadMTrk(WINE_MCIMIDI* wmm, MCI_MIDITRACK* mmt)
|
||||||
} else {
|
} else {
|
||||||
len = MultiByteToWideChar( CP_ACP, 0, buf, -1, NULL, 0 );
|
len = MultiByteToWideChar( CP_ACP, 0, buf, -1, NULL, 0 );
|
||||||
wmm->lpstrName = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) );
|
wmm->lpstrName = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) );
|
||||||
len = MultiByteToWideChar( CP_ACP, 0, buf, -1, wmm->lpstrName, len );
|
MultiByteToWideChar( CP_ACP, 0, buf, -1, wmm->lpstrName, len );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue