Skip to content
Snippets Groups Projects
Commit e79bd927 authored by deuce's avatar deuce
Browse files

Fix bug in last commit.

parent 46b2a552
Branches
Tags
No related merge requests found
......@@ -1849,7 +1849,7 @@ js_spy(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
if((sbbs=(sbbs_t*)JS_GetContextPrivate(cx))==NULL)
return(JS_FALSE);
if(argc)
if(argc) {
if(!JS_ValueToInt32(cx,argv[0],&node_num))
node_num=0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment