quartz: Fix testing of HRESULT types with not operator instead of comparing against S_OK.

This makes it more obvious what the code is doing.
This commit is contained in:
Rob Shearman 2008-08-17 18:31:32 +01:00 committed by Alexandre Julliard
parent e57697a04b
commit 03a25b487f

View file

@ -254,7 +254,7 @@ static HRESULT ForwardCmdSeek( PCRITICAL_SECTION crit_sect, IBaseFilter* from, S
IMediaSeeking *seek = NULL;
hr_local = IPin_QueryInterface( connected, &IID_IMediaSeeking, (void**)&seek );
if (!hr_local)
if (hr_local == S_OK)
{
foundend = TRUE;
if (crit_sect)