Marcus Meissner : mshtml: Switch two checks (Coverity).
Alexandre Julliard
julliard at winehq.org
Thu Nov 24 15:04:38 CST 2011
Module: wine
Branch: master
Commit: da2089fed4c6bea03997973447d8a469bdd3242d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=da2089fed4c6bea03997973447d8a469bdd3242d
Author: Marcus Meissner <meissner at suse.de>
Date: Thu Nov 24 02:25:25 2011 +0100
mshtml: Switch two checks (Coverity).
---
dlls/mshtml/navigate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index 2d8bcd8..9556a00 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -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;
More information about the wine-cvs
mailing list