From 9d3dcae1fbc2a93831928adc2dc823a76fd6015b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 16 Jan 2008 19:15:25 +0100 Subject: [PATCH] winmm: Load only one sound driver at a time. --- dlls/winmm/lolvldrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winmm/lolvldrv.c b/dlls/winmm/lolvldrv.c index f508395180b..22f333a4b5a 100644 --- a/dlls/winmm/lolvldrv.c +++ b/dlls/winmm/lolvldrv.c @@ -687,7 +687,7 @@ BOOL MMDRV_Init(void) char *next = strchr(p, ','); if (next) *next++ = 0; sprintf( filename, "wine%s.drv", p ); - ret |= MMDRV_Install( filename, filename, FALSE ); + if ((ret = MMDRV_Install( filename, filename, FALSE ))) break; p = next; }