Commit 7e8e9c41 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

winmm: SND_ALIAS and SND_ALIAS_ID overlap so when checking for SND_ALIAS_ID make…

winmm: SND_ALIAS and SND_ALIAS_ID overlap so when checking for SND_ALIAS_ID make sure it is SND_ALIAS_ID and not SND_ALIAS.
parent c08b0a0a
......@@ -310,7 +310,7 @@ static DWORD WINAPI proc_PlaySound(LPVOID arg)
}
else if (wps->fdwSound & SND_ALIAS)
{
if (wps->fdwSound & SND_ALIAS_ID)
if ((wps->fdwSound & SND_ALIAS_ID) == SND_ALIAS_ID)
{
static const WCHAR wszSystemAsterisk[] = {'S','y','s','t','e','m','A','s','t','e','r','i','s','k',0};
static const WCHAR wszSystemDefault[] = {'S','y','s','t','e','m','D','e','f','a','u','l','t',0};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment