Commit 5dd6d798 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent 9dd75ea0
......@@ -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;
......
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