Skip to content
Snippets Groups Projects
Commit 1c1dcd8b authored by rswindell's avatar rswindell
Browse files

Fixed return value from handle_ctrlkey method.

parent 4750f18e
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ js_handle_ctrlkey(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *
if(argc>1)
JS_ValueToInt32(cx, argv[1], &mode);
*rval = BOOLEAN_TO_JSVAL(sbbs->handle_ctrlkey(key,mode));
*rval = BOOLEAN_TO_JSVAL(sbbs->handle_ctrlkey(key,mode)==0);
return(JS_TRUE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment