From 782dea35f832b55b023f1ade92d37c62a7e4a9d7 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 3 Sep 2009 10:43:27 +0200 Subject: [PATCH] jscript: Fix 'object expected' error number. --- dlls/jscript/resource.h | 2 +- dlls/jscript/tests/api.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/jscript/resource.h b/dlls/jscript/resource.h index c3e58cb5be7..2749bd618c3 100644 --- a/dlls/jscript/resource.h +++ b/dlls/jscript/resource.h @@ -30,7 +30,7 @@ #define IDS_NOT_FUNC 0x138A #define IDS_NOT_DATE 0x138E #define IDS_NOT_NUM 0x1389 -#define IDS_OBJECT_EXPECTED 0x128F +#define IDS_OBJECT_EXPECTED 0x138F #define IDS_ILLEGAL_ASSIGN 0x1390 #define IDS_UNDEFINED 0x1391 #define IDS_NOT_BOOL 0x1392 diff --git a/dlls/jscript/tests/api.js b/dlls/jscript/tests/api.js index 136db614bd8..42d0683ce82 100644 --- a/dlls/jscript/tests/api.js +++ b/dlls/jscript/tests/api.js @@ -1492,7 +1492,7 @@ exception_test(function() {eval("for(i=0;i<10")}, "SyntaxError", -2146827284); exception_test(function() {eval("while(")}, "SyntaxError", -2146827286); exception_test(function() {eval("if(")}, "SyntaxError", -2146827286); exception_test(function() {eval("'unterminated")}, "SyntaxError", -2146827273); -exception_test(function() {eval("nonexistingfunc()")}, "TypeError", -2146823537); +exception_test(function() {eval("nonexistingfunc()")}, "TypeError", -2146823281); function testObjectInherit(obj, constr, ts, tls, vo) { ok(obj instanceof Object, "obj is not instance of Object");