Commit 521eafde authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

mshtml: Fixed reversed NULl check.

parent 3948541a
......@@ -1176,7 +1176,7 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
return OLECMDERR_E_CANCELED;
}
if(This->nsdoc) {
if(!This->nsdoc) {
WARN("NULL nsdoc\n");
return E_UNEXPECTED;
}
......
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