Piotr Caban : jscript: Fix 'object expected' error number.
Alexandre Julliard
julliard at winehq.org
Tue Sep 8 08:53:47 CDT 2009
Module: wine
Branch: master
Commit: 782dea35f832b55b023f1ade92d37c62a7e4a9d7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=782dea35f832b55b023f1ade92d37c62a7e4a9d7
Author: Piotr Caban <piotr.caban at gmail.com>
Date: Thu Sep 3 10:43:27 2009 +0200
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 c3e58cb..2749bd6 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 136db61..42d0683 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");
More information about the wine-cvs
mailing list