Paul Vriens : quartz: Fixed typo (Coverity).
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jun 29 08:32:00 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: cc6bb93baaa1e9e26e5b5a965ddc8c1589c2b5f5
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=cc6bb93baaa1e9e26e5b5a965ddc8c1589c2b5f5
Author: Paul Vriens <Paul.Vriens at xs4all.nl>
Date: Wed Jun 28 19:49:48 2006 +0200
quartz: Fixed typo (Coverity).
---
dlls/quartz/filtergraph.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index dbb4048..bbf22e6 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -3979,7 +3979,7 @@ static HRESULT WINAPI MediaEvent_SetNoti
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;
More information about the wine-cvs
mailing list