Thomas Faber : jscript: Fix MSVC build.
Module: wine Branch: master Commit: 88a6936d408b8cd4d17a343d4647abc1c9ca16b2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=88a6936d408b8cd4d17a343d4... Author: Thomas Faber <thomas.faber(a)reactos.org> Date: Mon Jun 4 18:11:08 2018 +0200 jscript: Fix MSVC build. Signed-off-by: Thomas Faber <thomas.faber(a)reactos.org> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/jscript/dispex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c index 9b47368..65ca47a 100644 --- a/dlls/jscript/dispex.c +++ b/dlls/jscript/dispex.c @@ -1793,6 +1793,7 @@ HRESULT jsdisp_define_property(jsdisp_t *obj, const WCHAR *name, property_desc_t HRESULT jsdisp_define_data_property(jsdisp_t *obj, const WCHAR *name, unsigned flags, jsval_t value) { - property_desc_t prop_desc = { flags, flags, TRUE, value }; + property_desc_t prop_desc = { flags, flags, TRUE }; + prop_desc.value = value; return jsdisp_define_property(obj, name, &prop_desc); }
participants (1)
-
Alexandre Julliard