[PATCH] Implement HTMLStyle get_background

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Aug 12 18:29:57 CDT 2008


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

diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c
index e65bec8..9a8b732 100644
--- a/dlls/mshtml/htmlstyle.c
+++ b/dlls/mshtml/htmlstyle.c
@@ -490,8 +490,10 @@ static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v)
 static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)
 {
     HTMLStyle *This = HTMLSTYLE_THIS(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+    
+    TRACE("(%p)->(%p)\n", This, p);
+    
+    return get_style_attr(This, attrBackground, p);
 }
 
 static HRESULT WINAPI HTMLStyle_put_backgroundColor(IHTMLStyle *iface, VARIANT v)
-- 
1.5.4.1


--------------050304030301090600090108--




More information about the wine-patches mailing list