mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 19:47:31 +00:00
parent
2ca2f9c5d2
commit
7dc638c5d1
@ -5392,11 +5392,12 @@ static void agraph_print_node_dot(RANode *n, void *user) {
|
||||
char *label = strdup (n->body);
|
||||
//label = r_str_replace (label, "\n", "\\l", 1);
|
||||
if (!label || !*label) {
|
||||
free (label);
|
||||
label = strdup (n->title);
|
||||
r_cons_printf ("\"%s\" [URL=\"%s\", color=\"lightgray\", label=\"%s\"]\n",
|
||||
n->title, n->title, n->title);
|
||||
} else {
|
||||
r_cons_printf ("\"%s\" [URL=\"%s\", color=\"lightgray\", label=\"%s\\n%s\"]\n",
|
||||
n->title, n->title, n->title, label);
|
||||
}
|
||||
r_cons_printf ("\"%s\" [URL=\"%s\", color=\"lightgray\", label=\"%s\"]\n",
|
||||
n->title, n->title, label);
|
||||
free (label);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user