[Wine-patches] mshtml: Fix crashes in html (eterbug #2405)

Konstantin Kondratyuk =?iso-8859-1?q?kondratyuk_=CE=C1_etersoft=2Eru?=
Вт Окт 21 12:53:19 MSD 2008


-- 
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From 47083abb2326166e34df85c9c7861ec54a498808 Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Tue, 21 Oct 2008 12:49:24 +0400
Subject: [PATCH] mshtml: Fix crashes in html (eterbug #2405)

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

diff --git a/dlls/mshtml/oleobj.c b/dlls/mshtml/oleobj.c
index a29c04c..00f9357 100644
--- a/dlls/mshtml/oleobj.c
+++ b/dlls/mshtml/oleobj.c
@@ -772,9 +772,10 @@ static HRESULT WINAPI Info_GetClassInfo(IProvideClassInfo* iface, ITypeInfo **pp
 
     hres = IDispatchEx_GetTypeInfo(DISPATCHEX(This), 0, 0, ppTI);
     if (FAILED(hres)) {
-        FIXME("ERROR hres = %08x", hres);
+        FIXME("ERROR hres = %08x\n", hres);
+        return E_FAIL;
     }
-    TRACE("%p\n",*ppTI);
+    TRACE("returning %p\n",*ppTI);
     ITypeInfo_AddRef(*ppTI);/**/
 
 #if 0
-- 
1.5.6.5.GIT



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