jscript: Fixed argument conversion in disp_call_value when 'this' is specified.

This commit is contained in:
Jacek Caban 2012-09-03 15:47:14 +02:00 committed by Alexandre Julliard
parent 3cd189c0c0
commit 7fec767864
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ HRESULT disp_call_value(script_ctx_t *ctx, IDispatch *disp, IDispatch *jsthis, W
}
for(i=0; i<argc; i++)
dp.rgvarg[argc-i-1] = argv[i];
dp.rgvarg[dp.cArgs-i-1] = argv[i];
if(jsthis) {
V_VT(dp.rgvarg) = VT_DISPATCH;
V_DISPATCH(dp.rgvarg) = jsthis;