Fix dlls/winmm/tests/wave.c
Gerald Pfeifer
gerald at pfeifer.com
Sun Jun 7 04:28:44 CDT 2009
Looking at the code before and after this condition, this looks like
an obvious fix?
Gerald
ChangeLog:
Use & instead of && for bit test in wave_out_test_deviceOut().
diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c
index b509f74..97544c0 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;
More information about the wine-patches
mailing list