Commit da2089fe authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

mshtml: Switch two checks (Coverity).

parent e410f3fc
......@@ -2069,7 +2069,7 @@ HRESULT navigate_url(HTMLWindow *window, const WCHAR *new_url, const WCHAR *base
}
}
if(window->doc_obj->is_webbrowser && window->doc_obj && window == window->doc_obj->basedoc.window) {
if(window->doc_obj && window->doc_obj->is_webbrowser && window == window->doc_obj->basedoc.window) {
BOOL cancel = FALSE;
IUri *uri;
......
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