Gerald Pfeifer : mshtml: Fix return value for HTMLBodyElement_get_text.

Alexandre Julliard julliard at winehq.org
Tue May 4 13:06:37 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  1 16:19:05 2010 +0200

mshtml: Fix return value for HTMLBodyElement_get_text.

---

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

diff --git a/dlls/mshtml/htmlbody.c b/dlls/mshtml/htmlbody.c
index 5c66e65..e4bb1d0 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)




More information about the wine-cvs mailing list