From 6976400f7b523956d389aef644663454387bc767 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 1 May 2010 16:19:05 +0200 Subject: [PATCH] mshtml: Fix return value for HTMLBodyElement_get_text. --- dlls/mshtml/htmlbody.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/htmlbody.c b/dlls/mshtml/htmlbody.c index 5c66e65a44a..e4bb1d06ad1 100644 --- a/dlls/mshtml/htmlbody.c +++ b/dlls/mshtml/htmlbody.c @@ -462,7 +462,7 @@ static HRESULT WINAPI HTMLBodyElement_get_text(IHTMLBodyElement *iface, VARIANT nsAString_Finish(&text); - return S_OK; + return hres; } static HRESULT WINAPI HTMLBodyElement_put_link(IHTMLBodyElement *iface, VARIANT v) -- 2.11.4.GIT