http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b533071
)
mshtml: Added IHTMLStyle::put_color implementation.
author
Jacek Caban
<jacek@codeweavers.com>
Tue, 17 Jun 2008 22:12:43 +0000
(
00:12
+0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 18 Jun 2008 14:00:10 +0000
(16:00 +0200)
dlls/mshtml/htmlstyle.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/mshtml/htmlstyle.c
b/dlls/mshtml/htmlstyle.c
index 32f6462afcbed50a53286e8177cb4ed2817b9fd3..8bceb264dabb532a058043db1f6abc9a98758ff4 100644
(file)
--- a/
dlls/mshtml/htmlstyle.c
+++ b/
dlls/mshtml/htmlstyle.c
@@
-420,7
+420,18
@@
static HRESULT WINAPI HTMLStyle_get_font(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_put_color(IHTMLStyle *iface, VARIANT v)
{
HTMLStyle *This = HTMLSTYLE_THIS(iface);
- FIXME("(%p)->(v%d)\n", This, V_VT(&v));
+
+ TRACE("(%p)->(v%d)\n", This, V_VT(&v));
+
+ switch(V_VT(&v)) {
+ case VT_BSTR:
+ TRACE("%s\n", debugstr_w(V_BSTR(&v)));
+ return set_style_attr(This, attrColor, V_BSTR(&v), 0);
+
+ default:
+ FIXME("unsupported vt=%d\n", V_VT(&v));
+ }
+
return E_NOTIMPL;
}