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

Fix bug in last commit.

parent f7081b77
Branches
No related tags found
No related merge requests found
......@@ -268,6 +268,7 @@ js_read(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
if(uulen>=0) {
buf=uubuf;
len=uulen;
}
}
str = JS_NewStringCopyN(cx, buf, len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment