Fix sound3d compile problem

Duane Clark dclark at akamail.com
Thu May 22 11:47:41 CDT 2003


At least for gcc 2.96, I need this to fix a compile error.

Changelog:
	Fix compile error.

-------------- next part --------------
Index: dlls/dsound/sound3d.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/sound3d.c,v
retrieving revision 1.19
diff -u -r1.19 sound3d.c
--- dlls/dsound/sound3d.c	22 May 2003 03:39:13 -0000	1.19
+++ dlls/dsound/sound3d.c	22 May 2003 16:43:15 -0000
@@ -187,7 +187,6 @@
 static void WINAPI DSOUND_Mix3DBuffer(IDirectSound3DBufferImpl *ds3db)
 {
 	IDirectSound3DListenerImpl *dsl;
-	TRACE("(%p)\n",ds3db);
 
 	/* volume, at which the sound will be played after all calcs. */
 	D3DVALUE lVolume = 0;
@@ -205,6 +204,7 @@
 	D3DVALUE flFreq, flBufferVel, flListenerVel;
 #endif
 
+	TRACE("(%p)\n",ds3db);
 	if (ds3db->dsb->dsound->listener == NULL)
 		return;	
 	dsl = ds3db->dsb->dsound->listener;


More information about the wine-patches mailing list