mshtml: Switch two checks (Coverity).

This commit is contained in:
Marcus Meissner 2011-11-24 02:25:25 +01:00 committed by Alexandre Julliard
parent e410f3fc66
commit da2089fed4
1 changed files with 1 additions and 1 deletions

View File

@ -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;