Marcus Meissner : jscript: Fixed VT variable type for DISPID_GLOBAL_ISWIN64 .
Alexandre Julliard
julliard at winehq.org
Mon Jan 3 10:58:02 CST 2011
Module: wine
Branch: master
Commit: 45e2bd7c2ee9f153f533ced5870e1a6702358564
URL: http://source.winehq.org/git/wine.git/?a=commit;h=45e2bd7c2ee9f153f533ced5870e1a6702358564
Author: Marcus Meissner <marcus at 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;
More information about the wine-cvs
mailing list