[MPLAY32]

- Hackfix playback

See issue #5867 for more details.

svn path=/trunk/; revision=50871
This commit is contained in:
Johannes Anderwald 2011-02-23 10:32:56 +00:00
parent d0b18829cd
commit 2b1aa66672

View file

@ -455,7 +455,7 @@ PlayFile(HWND hwnd, LPTSTR lpFileName)
mciPlay.dwFrom = 0;
mciPlay.dwTo = MaxFilePos;
mciError = mciSendCommand(wDeviceId, MCI_PLAY, MCI_NOTIFY | MCI_FROM | MCI_TO, (DWORD_PTR)&mciPlay);
mciError = mciSendCommand(wDeviceId, MCI_PLAY, MCI_NOTIFY | MCI_FROM /*| MCI_TO*/, (DWORD_PTR)&mciPlay);
if (mciError != 0)
{
MessageBox(hwnd, _T("Can't play!"), NULL, MB_OK);