mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 18:27:18 +00:00
* Fixes #14900: xdot type commands functional now
This commit is contained in:
parent
ab8dfab3e4
commit
64c01578a2
@ -1251,10 +1251,10 @@ static char *core_anal_graph_label(RCore *core, RAnalBlock *bb, int opts) {
|
||||
cmdstr = r_core_cmd_str (core, cmd);
|
||||
r_config_set_i (core->config, "scr.color", scrColor);
|
||||
r_config_set_i (core->config, "scr.utf8", scrUtf8);
|
||||
if (cmdstr) {
|
||||
str = r_str_escape_dot (cmdstr);
|
||||
free (cmdstr);
|
||||
}
|
||||
}
|
||||
if (cmdstr) {
|
||||
str = r_str_escape_dot (cmdstr);
|
||||
free (cmdstr);
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
@ -778,6 +778,7 @@ static void __print_diff_graph(RCore *c, ut64 off, int gmode) {
|
||||
case GRAPH_INTERACTIVE_MODE:
|
||||
__generate_graph (c, off);
|
||||
r_core_agraph_print (c, use_utf8, "v");
|
||||
r_cons_reset_colors ();
|
||||
break;
|
||||
case GRAPH_SDB_MODE:
|
||||
__generate_graph (c, off);
|
||||
@ -797,9 +798,9 @@ static void __print_diff_graph(RCore *c, ut64 off, int gmode) {
|
||||
default:
|
||||
__generate_graph (c, off);
|
||||
r_core_agraph_print (c, use_utf8, "");
|
||||
r_cons_reset_colors ();
|
||||
break;
|
||||
}
|
||||
r_cons_reset_colors ();
|
||||
}
|
||||
|
||||
R_API int r_main_radiff2(int argc, char **argv) {
|
||||
|
Loading…
Reference in New Issue
Block a user