Marcus Meissner : mshtml: Fixed reversed NULl check.

Alexandre Julliard julliard at winehq.org
Fri Oct 31 09:24:11 CDT 2008


Module: wine
Branch: master
Commit: 521eafdec0ffa165f15357cff80bc7315a452e1b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=521eafdec0ffa165f15357cff80bc7315a452e1b

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Thu Oct 30 23:33:57 2008 +0100

mshtml: Fixed reversed NULl check.

---

 dlls/mshtml/editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/editor.c b/dlls/mshtml/editor.c
index 4e02155..efbaf23 100644
--- a/dlls/mshtml/editor.c
+++ b/dlls/mshtml/editor.c
@@ -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;
     }




More information about the wine-cvs mailing list