Permalink
Browse files

Fix object sealing with spidermonkey 1.7.0

  • Loading branch information...
1 parent df394dd commit 75ae049c3595a5c4b074a6f518ce9c1da0c577b2 Robert Newson committed Oct 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 couchjs/c_src/sm170.c
View
@@ -217,7 +217,7 @@ seal(JSContext* cx, JSObject* obj, uintN argc, jsval* argv, jsval* rval)
return JS_TRUE;
}
- if(JS_SealObject(cx, obj, deep) != JS_TRUE)
+ if(JS_SealObject(cx, target, deep) != JS_TRUE)
return JS_FALSE;
*rval = JSVAL_VOID;

0 comments on commit 75ae049

Please sign in to comment.