From cc6bb93baaa1e9e26e5b5a965ddc8c1589c2b5f5 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 28 Jun 2006 19:49:48 +0200 Subject: [PATCH] quartz: Fixed typo (Coverity). --- dlls/quartz/filtergraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index dbb40485c0e..bbf22e613bb 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -3979,7 +3979,7 @@ static HRESULT WINAPI MediaEvent_SetNotifyFlags(IMediaEventEx *iface, TRACE("(%p/%p)->(%ld)\n", This, iface, lNoNotifyFlags); - if ((lNoNotifyFlags != 0) || (lNoNotifyFlags != 1)) + if ((lNoNotifyFlags != 0) && (lNoNotifyFlags != 1)) return E_INVALIDARG; This->notif.disabled = lNoNotifyFlags;