jscript: Return the failure code if the value invoke failed.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f6d723e50
commit
749c5d55e5
|
@ -2143,6 +2143,8 @@ HRESULT disp_call_value(script_ctx_t *ctx, IDispatch *disp, IDispatch *jsthis, W
|
|||
if(args != buf)
|
||||
heap_free(args);
|
||||
|
||||
if(FAILED(hres))
|
||||
return hres;
|
||||
if(!r)
|
||||
return S_OK;
|
||||
|
||||
|
|
Loading…
Reference in New Issue