Fix crash in oodr

This commit is contained in:
pancake 2018-02-28 00:18:09 +01:00
parent aca973f31f
commit 19bdc6f41a
2 changed files with 1 additions and 2 deletions

View File

@ -1701,7 +1701,6 @@ static int cb_scrstrconv(void *user, void *data) {
static int cb_graphformat(void *user, void *data) {
RConfigNode *node = (RConfigNode *) data;
RCore *core = (RCore*) user;
if (!strcmp (node->value, "?")) {
r_cons_printf ("dot\ngml\ngmlfcn\n");
return false;

View File

@ -1323,7 +1323,7 @@ static int cmd_open(void *data, const char *input) {
break;
case 'd': // "ood" : reopen in debugger
if (input[2] == 'r') { // "oodr"
r_core_cmdf ("dor %s", input + 3);
r_core_cmdf (core, "dor %s", input + 3);
r_core_file_reopen_debug (core, "");
} else if ('?' == input[2]) {
r_core_cmd_help (core, help_msg_ood);