Commit fdf57f2a authored by Rob Swindell's avatar Rob Swindell

Fix error return value of list method

bool (JSVAL_FALSE), not number (JS_FALSE).
parent ac3d3173
Pipeline #125 passed with stage
in 12 minutes and 29 seconds
......@@ -755,7 +755,7 @@ js_uifc_list(JSContext *cx, uintN argc, jsval *arglist)
if(title == NULL || opts == NULL) {
JS_SET_RVAL(cx, arglist, JS_FALSE);
JS_SET_RVAL(cx, arglist, JSVAL_FALSE);
} else {
JS_SET_RVAL(cx, arglist, INT_TO_JSVAL(uifc->list(mode,left,top,width,(int*)dptr,(int*)bptr,title,opts)));
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