Commit cbbfb57b authored by deuce's avatar deuce
Browse files

Fix bug in last commit.

parent f7081b77
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment