Commit bbf2f9f6 authored by deuce's avatar deuce
Browse files

Fix conio.getfont() return value.

parent ef6c21fd
......@@ -483,7 +483,6 @@ js_conio_getfont(JSContext *cx, uintN argc, jsval *arglist)
if(argc==1 && JSVAL_IS_NUMBER(argv[0]) && JS_ValueToInt32(cx,argv[0],&fnum)) {
rc=JS_SUSPENDREQUEST(cx);
JS_SET_RVAL(cx, arglist, INT_TO_JSVAL(getfont(fnum)));
JS_SET_RVAL(cx, arglist, JSVAL_TRUE);
JS_RESUMEREQUEST(cx, rc);
return(JS_TRUE);
}
......
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