quartz: Fixed typo (Coverity).

This commit is contained in:
Paul Vriens 2006-06-28 19:49:48 +02:00 committed by Alexandre Julliard
parent e5f009e05c
commit cc6bb93baa

View file

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