Jacek Caban : mshtml: Return documentMode as VT_R4.

Alexandre Julliard julliard at winehq.org
Wed Aug 23 19:54:07 CDT 2017


Module: wine
Branch: master
Commit: bec8063948e64f32c85021381a8bea590de9d38c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bec8063948e64f32c85021381a8bea590de9d38c

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Aug 21 21:34:47 2017 +0200

mshtml: Return documentMode as VT_R4.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/htmldoc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c
index c216448..3c16d2c 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -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;
 }
 




More information about the wine-cvs mailing list