mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-10 06:24:43 +00:00
Aligned callee info cmts (#7424)
This commit is contained in:
parent
da4aa29a8f
commit
c64f560d9a
@ -3363,6 +3363,7 @@ static void ds_print_calls_hints(RDisasmState *ds) {
|
|||||||
} else if (!(name = r_anal_type_func_guess (anal, fcn->name))) {
|
} else if (!(name = r_anal_type_func_guess (anal, fcn->name))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
char *spc = ds->show_comment_right ? " " : "";
|
||||||
if (ds->show_color) {
|
if (ds->show_color) {
|
||||||
r_cons_strcat (ds->pal_comment);
|
r_cons_strcat (ds->pal_comment);
|
||||||
}
|
}
|
||||||
@ -3370,7 +3371,7 @@ static void ds_print_calls_hints(RDisasmState *ds) {
|
|||||||
const char *fcn_type = r_anal_type_func_ret (anal, name);
|
const char *fcn_type = r_anal_type_func_ret (anal, name);
|
||||||
if (fcn_type && *fcn_type) {
|
if (fcn_type && *fcn_type) {
|
||||||
r_cons_printf (
|
r_cons_printf (
|
||||||
"; %s%s%s(", fcn_type,
|
"%s; %s%s%s(", spc, fcn_type,
|
||||||
fcn_type[strlen (fcn_type) - 1] == '*' ? "" : " ",
|
fcn_type[strlen (fcn_type) - 1] == '*' ? "" : " ",
|
||||||
name);
|
name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user