mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-26 09:06:02 +00:00
Color asm.cmt.right=false cmts as per palette (#9502)
This commit is contained in:
parent
2520fd4e73
commit
4bc314526a
@ -448,8 +448,12 @@ static void ds_comment(RDisasmState *ds, bool align, const char *format, ...) {
|
||||
va_list ap;
|
||||
va_start (ap, format);
|
||||
|
||||
if (ds->show_comments && ds->show_comment_right && align) {
|
||||
ds_align_comment (ds);
|
||||
if (ds->show_comments) {
|
||||
if (ds->show_comment_right && align) {
|
||||
ds_align_comment (ds);
|
||||
} else if (!ds->use_json) {
|
||||
r_cons_printf ("%s", COLOR (ds, color_comment));
|
||||
}
|
||||
}
|
||||
|
||||
if (!ds->use_json) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user