mshtml: Fixed reversed NULl check.
This commit is contained in:
parent
3948541a6c
commit
521eafdec0
|
@ -1176,7 +1176,7 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
|
||||||
return OLECMDERR_E_CANCELED;
|
return OLECMDERR_E_CANCELED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(This->nsdoc) {
|
if(!This->nsdoc) {
|
||||||
WARN("NULL nsdoc\n");
|
WARN("NULL nsdoc\n");
|
||||||
return E_UNEXPECTED;
|
return E_UNEXPECTED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue