Skip to content

Commit

Permalink
Fixed R key not working in custom graph (#10442)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanpencil authored and radare committed Jun 21, 2018
1 parent 47d8deb commit 9efa5ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libr/core/graph.c
Expand Up @@ -4049,14 +4049,14 @@ R_API int r_core_visual_graph(RCore *core, RAGraph *g, RAnalFunction *_fcn, int
r_core_cmd (core, "sr PC", 0);
break;
case 'R':
if (!fcn) {
break;
}
if (r_config_get_i (core->config, "scr.randpal")) {
r_core_cmd0 (core, "ecr");
} else {
r_core_cmd0 (core, "ecn");
}
if (!fcn) {
break;
}
g->edgemode = r_config_get_i (core->config, "graph.edges");
get_bbupdate (g, core, fcn);
break;
Expand Down

0 comments on commit 9efa5ee

Please sign in to comment.