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

Fix bug from extracting the str_to_bits() code.

parent 74a1b786
Branches
Tags
No related merge requests found
......@@ -273,6 +273,8 @@ static JSBool js_console_set(JSContext *cx, JSObject *obj, jsid id, JSBool stric
if(JSVAL_IS_STRING(*vp)) {
char *s;
if((str=JS_ValueToString(cx, *vp))==NULL)
break;
JSSTRING_TO_STRING(cx, str, s, NULL);
val=str_to_bits(sbbs->cfg.ctrlkey_passthru, s);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment