another playsound regression

Eric Pouech eric.pouech at wanadoo.fr
Sun Jun 2 23:08:06 CDT 2002


title says it all
(spotted by Duane Clark)

A+
-------------- next part --------------
Name:          winmm_ps3
ChangeLog:     fixed another regression in PlaySound
License:       X11
GenDate:       2002/06/03 04:06:07 UTC
ModifiedFiles: dlls/winmm/mmsystem.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/winmm/mmsystem.c,v
retrieving revision 1.58
diff -u -u -r1.58 mmsystem.c
--- dlls/winmm/mmsystem.c	31 May 2002 23:40:56 -0000	1.58
+++ dlls/winmm/mmsystem.c	3 Jun 2002 04:03:50 -0000
@@ -634,7 +634,7 @@
         ResetEvent(iData->psStopEvent);
     }
 
-    wps->lpNext = iData->lpPlaySound;
+    if (wps) wps->lpNext = iData->lpPlaySound;
     iData->lpPlaySound = wps;
     LeaveCriticalSection(&iData->cs);
 


More information about the wine-patches mailing list