Skip to content
Snippets Groups Projects
Commit da2089fe authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

mshtml: Switch two checks (Coverity).

parent e410f3fc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment