Commit 03a25b48 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent e57697a0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment