mshtml: Return documentMode as VT_R4.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-08-21 21:34:47 +02:00 committed by Alexandre Julliard
parent c25208f2af
commit bec8063948
1 changed files with 2 additions and 2 deletions

View File

@ -3103,8 +3103,8 @@ static HRESULT WINAPI HTMLDocument6_get_documentMode(IHTMLDocument6 *iface, VARI
return E_UNEXPECTED;
}
V_VT(p) = VT_I4;
V_I4(p) = compat_mode_info[This->doc_node->document_mode].document_mode;
V_VT(p) = VT_R4;
V_R4(p) = compat_mode_info[This->doc_node->document_mode].document_mode;
return S_OK;
}