Skip to content
Snippets Groups Projects
Commit cba62a81 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Properly handle CSI m in html_encode()

Used by gcc in warnings.
parent 7b088502
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1634 passed
......@@ -1943,6 +1943,13 @@ js_html_encode(JSContext *cx, uintN argc, jsval *arglist)
break;
}
}
if (k == 0) {
fg=7;
bg=0;
blink=FALSE;
bold=FALSE;
break;
}
break;
case 'C': /* Move right */
j+=sprintf(outbuf+j,"%s%s%s",HTML_COLOR_PREFIX,htmlansi[0],HTML_COLOR_SUFFIX);
......
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