Jacek Caban : jscript: Run sanity check with invoke_version 0.

Alexandre Julliard julliard at winehq.org
Thu Jan 12 13:19:24 CST 2012


Module: wine
Branch: master
Commit: afcb9a013067d5bcaf04bdba6e186e0f5977b156
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=afcb9a013067d5bcaf04bdba6e186e0f5977b156

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Jan 12 13:43:38 2012 +0100

jscript: Run sanity check with invoke_version 0.

---

 dlls/jscript/tests/run.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/jscript/tests/run.c b/dlls/jscript/tests/run.c
index 66f70b9..e5bd072 100644
--- a/dlls/jscript/tests/run.c
+++ b/dlls/jscript/tests/run.c
@@ -108,7 +108,7 @@ static const CHAR test_valA[] = "testVal";
 static BOOL strict_dispid_check;
 static const char *test_name = "(null)";
 static IDispatch *script_disp;
-static int invoke_version = 2;
+static int invoke_version;
 static IActiveScriptError *script_error;
 
 /* Returns true if the user interface is in English. Note that this does not
@@ -1680,6 +1680,7 @@ START_TEST(run)
     if(!check_jscript()) {
         win_skip("Broken engine, probably too old\n");
     }else if(argc > 2) {
+        invoke_version = 2;
         run_from_file(argv[2]);
     }else {
         trace("invoke version 0\n");




More information about the wine-cvs mailing list