From c4a0539a79a73905b581d2f9d2dbc0d57b52b86b Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 7 Jun 2009 11:28:44 +0200 Subject: [PATCH] winmm: Use & instead of && for bit test in wave_out_test_deviceOut(). --- dlls/winmm/tests/wave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c index b509f74c909..97544c0f95a 100644 --- a/dlls/winmm/tests/wave.c +++ b/dlls/winmm/tests/wave.c @@ -640,7 +640,7 @@ static void wave_out_test_deviceOut(int device, double duration, trace("CALLBACK_THREAD not implemented\n"); CloseHandle(hevent); return; - } else if (flags && CALLBACK_TYPEMASK) { + } else if (flags & CALLBACK_TYPEMASK) { trace("Undefined callback type!\n"); CloseHandle(hevent); return;