Commit c4a0539a authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winmm: Use & instead of && for bit test in wave_out_test_deviceOut().

parent ae0ddb37
......@@ -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;
......
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