Alistair Leslie-Hughes : mshtml: Add support for Reference BSTR when setting styles.
Alexandre Julliard
julliard at winehq.org
Thu Sep 10 09:08:58 CDT 2009
Module: wine
Branch: master
Commit: 2d791e8c67e76efaf29ff650883a7a47fa0447da
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d791e8c67e76efaf29ff650883a7a47fa0447da
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Sep 10 19:58:43 2009 +1000
mshtml: Add support for Reference BSTR when setting styles.
---
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};
More information about the wine-cvs
mailing list