urlmon: 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:32:16 +01:00 committed by Alexandre Julliard
parent 9dd75ea093
commit 5dd6d798a4
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ static HRESULT Binding_MoreCacheData(Binding *This, const char *buf, DWORD dwByt
BINDSTATUS_BEGINDOWNLOADDATA :
BINDSTATUS_DOWNLOADINGDATA,
This->URLName);
if (!hr)
if (hr == S_OK)
{
STGMEDIUM stg;
FORMATETC fmt;