Jacek Caban : jscript: Create Array objects from proper constructor.
Alexandre Julliard
julliard at winehq.org
Sat Aug 29 11:35:54 CDT 2009
Module: wine
Branch: master
Commit: 90af81f40534cb05b6f9684acd0d4fab4d949d99
URL: http://source.winehq.org/git/wine.git/?a=commit;h=90af81f40534cb05b6f9684acd0d4fab4d949d99
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Aug 28 23:53:45 2009 +0200
jscript: Create Array objects from proper constructor.
---
dlls/jscript/array.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/array.c b/dlls/jscript/array.c
index 704624e..2aea70b 100644
--- a/dlls/jscript/array.c
+++ b/dlls/jscript/array.c
@@ -872,7 +872,7 @@ static HRESULT alloc_array(script_ctx_t *ctx, DispatchEx *object_prototype, Arra
if(object_prototype)
hres = init_dispex(&array->dispex, ctx, &Array_info, object_prototype);
else
- hres = init_dispex_from_constr(&array->dispex, ctx, &Array_info, ctx->object_constr);
+ hres = init_dispex_from_constr(&array->dispex, ctx, &Array_info, ctx->array_constr);
if(FAILED(hres)) {
heap_free(array);
More information about the wine-cvs
mailing list