[Wine-patches] [eter-1.0.12] Revert "mshtml: Our realisation of HTMLDocument_open (fix eterbug #993)" (try 2)

Alexander Morozov amorozov на etersoft.ru
Ср Авг 17 19:57:27 MSD 2011


----------- следующая часть -----------
From cedca7440b7446d4a133ba78d6689b660ea51792 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 17 Aug 2011 19:16:12 +0400
Subject: [eter-1.0.12] Revert "mshtml: Our realisation of HTMLDocument_open
 (fix eterbug #993)"

This reverts commit fe440e6bd61e8f831d4a4589af2e8c62c01e690a.
---
 dlls/mshtml/htmldoc.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c
index 341a1a0..3bd6976 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -965,12 +965,6 @@ static HRESULT WINAPI HTMLDocument_writeln(IHTMLDocument2 *iface, SAFEARRAY *psa
 static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT name,
                         VARIANT features, VARIANT replace, IDispatch **pomWindowResult)
 {
-    /* Etersoft hack for eterbug #993 
-     * change realisation of function
-     */
-    TRACE("(%p)->(%s %p)\n", iface, debugstr_w(url), pomWindowResult);
-    return IHTMLDocument2_QueryInterface(iface, &IID_IDispatch, (void**)pomWindowResult);
-#if 0
     HTMLDocument *This = HTMLDOC_THIS(iface);
     nsresult nsres;
 
@@ -997,7 +991,6 @@ static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT
     *pomWindowResult = (IDispatch*)HTMLWINDOW2(This->window);
     IHTMLWindow2_AddRef(HTMLWINDOW2(This->window));
     return S_OK;
-#endif
 }
 
 static HRESULT WINAPI HTMLDocument_close(IHTMLDocument2 *iface)
-- 
1.7.6



Подробная информация о списке рассылки Wine-patches