Andrew Eikum : mshtml: Fix return value interpretation when navigating.

Alexandre Julliard julliard at winehq.org
Thu Mar 18 11:19:27 CDT 2010


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

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Wed Mar 17 16:09:09 2010 -0500

mshtml: Fix return value interpretation when navigating.

---

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

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index f4e6f4b..88a4e55 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -904,7 +904,7 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
 
             open = FALSE;
         }else {
-            open = before_async_open(This, window->doc_obj->nscontainer);
+            open = !before_async_open(This, window->doc_obj->nscontainer);
             if(!open) {
                 TRACE("canceled\n");
                 nsres = NS_ERROR_UNEXPECTED;




More information about the wine-cvs mailing list