[Wine-patches] [eterhack] Revert "mshtml: Our realisation of HTMLDocument_open (fix eterbug #993)"

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


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

This reverts commit 81a157331ec63d1158ca06131a2cb301457547cc.
---
 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 262adf3..8118ceb 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -853,12 +853,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 = impl_from_IHTMLDocument2(iface);
     nsresult nsres;
 
@@ -885,7 +879,6 @@ static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT
     *pomWindowResult = (IDispatch*)&This->window->IHTMLWindow2_iface;
     IHTMLWindow2_AddRef(&This->window->IHTMLWindow2_iface);
     return S_OK;
-#endif
 }
 
 static HRESULT WINAPI HTMLDocument_close(IHTMLDocument2 *iface)
-- 
1.7.6



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