Module: wine Branch: master Commit: 45e2bd7c2ee9f153f533ced5870e1a6702358564 URL: http://source.winehq.org/git/wine.git/?a=commit;h=45e2bd7c2ee9f153f533ced587...
Author: Marcus Meissner marcus@jet.franken.de Date: Sun Jan 2 15:06:41 2011 +0100
jscript: Fixed VT variable type for DISPID_GLOBAL_ISWIN64.
---
dlls/jscript/tests/run.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/tests/run.c b/dlls/jscript/tests/run.c index f473c6c..326b327 100644 --- a/dlls/jscript/tests/run.c +++ b/dlls/jscript/tests/run.c @@ -576,7 +576,7 @@ static HRESULT WINAPI Global_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid, case DISPID_GLOBAL_ISWIN64: if(pvarRes) { V_VT(pvarRes) = VT_BOOL; - V_BSTR(pvarRes) = sizeof(void*) == 8 ? VARIANT_TRUE : VARIANT_FALSE; + V_BOOL(pvarRes) = sizeof(void*) == 8 ? VARIANT_TRUE : VARIANT_FALSE; } return S_OK;