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

This commit is contained in:
Gerald Pfeifer 2009-06-07 11:28:44 +02:00 committed by Alexandre Julliard
parent ae0ddb37c2
commit c4a0539a79
1 changed files with 1 additions and 1 deletions

View File

@ -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;