mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 19:47:31 +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))) {
|
||||
return;
|
||||
}
|
||||
char *spc = ds->show_comment_right ? " " : "";
|
||||
if (ds->show_color) {
|
||||
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);
|
||||
if (fcn_type && *fcn_type) {
|
||||
r_cons_printf (
|
||||
"; %s%s%s(", fcn_type,
|
||||
"%s; %s%s%s(", spc, fcn_type,
|
||||
fcn_type[strlen (fcn_type) - 1] == '*' ? "" : " ",
|
||||
name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user