Commit a7fccdaa authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

mshtml: Add support for V_I4 in IHTMLStyle put_zIndex.

parent abedd774
...@@ -1716,6 +1716,13 @@ static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v) ...@@ -1716,6 +1716,13 @@ static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v)
switch(V_VT(&v)) { switch(V_VT(&v)) {
case VT_BSTR: case VT_BSTR:
return set_style_attr(This, STYLEID_Z_INDEX, V_BSTR(&v), 0); return set_style_attr(This, STYLEID_Z_INDEX, V_BSTR(&v), 0);
case VT_I4: {
WCHAR value[14];
static const WCHAR format[] = {'%','d',0};
wsprintfW(value, format, V_I4(&v));
return set_style_attr(This, STYLEID_Z_INDEX, value, 0);
}
default: default:
FIXME("unimplemented vt %d\n", V_VT(&v)); FIXME("unimplemented vt %d\n", V_VT(&v));
return E_NOTIMPL; return E_NOTIMPL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment