Jacek Caban : mshtml: Fixed type in get_nsdoc_window.

Alexandre Julliard julliard at winehq.org
Mon Mar 14 14:29:33 CDT 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Mar 12 18:35:40 2011 +0100

mshtml: Fixed type in get_nsdoc_window.

---

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

diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 0e42021..656999e 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -94,7 +94,7 @@ nsIDOMWindow *get_nsdoc_window(nsIDOMDocument *nsdoc)
     }
 
     nsres = nsIDOMDocumentView_GetDefaultView(nsdocview, &nsview);
-    nsIDOMDocumentView_Release(nsview);
+    nsIDOMDocumentView_Release(nsdocview);
     if(NS_FAILED(nsres)) {
         ERR("GetDefaultView failed: %08x\n", nsres);
         return NULL;




More information about the wine-cvs mailing list