Fixed another regression in PlaySound.

This commit is contained in:
Eric Pouech 2002-06-04 00:51:38 +00:00 committed by Alexandre Julliard
parent 37fb021a5a
commit 7efd615e4f

View File

@ -634,7 +634,7 @@ static BOOL MULTIMEDIA_PlaySound(const void* pszSound, HMODULE hmod, DWORD fdwSo
ResetEvent(iData->psStopEvent);
}
wps->lpNext = iData->lpPlaySound;
if (wps) wps->lpNext = iData->lpPlaySound;
iData->lpPlaySound = wps;
LeaveCriticalSection(&iData->cs);