[PATCH] Add support for Reference BSTR when setting styles.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Sep 10 04:58:43 CDT 2009
---
dlls/mshtml/htmlstyle.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c
index 5a75e2b..c2cfa43 100644
--- a/dlls/mshtml/htmlstyle.c
+++ b/dlls/mshtml/htmlstyle.c
@@ -292,6 +292,9 @@ HRESULT set_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid,
case VT_BSTR:
return set_nsstyle_attr(nsstyle, sid, V_BSTR(value), flags);
+ case VT_BSTR|VT_BYREF:
+ return set_nsstyle_attr(nsstyle, sid, *V_BSTRREF(value), flags);
+
case VT_I4: {
WCHAR str[14];
static const WCHAR format[] = {'%','d',0};
--
1.6.2.5
--------------020300040005090808070804--
More information about the wine-patches
mailing list