From 7efd615e4fa47a24625a2ad1a5dd7ca6761fabc5 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Tue, 4 Jun 2002 00:51:38 +0000 Subject: [PATCH] Fixed another regression in PlaySound. --- dlls/winmm/mmsystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winmm/mmsystem.c b/dlls/winmm/mmsystem.c index 33c9132df6..501d061433 100644 --- a/dlls/winmm/mmsystem.c +++ b/dlls/winmm/mmsystem.c @@ -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);