diff options
author | nick87720z <nick87720z@gmail.com> | 2020-06-06 21:28:39 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 18:28:39 +0200 |
commit | ae701ce54ed1e138ba90a92010e2a81f59120e27 (patch) | |
tree | 50b11543bcafa015d6ca63851a5e7574ba4976dc | |
parent | 3763517abf7f4ab714ac3f3bdf97e1ceb23a7521 (diff) |
Entry info was not used at entry selection (#1140)
-rw-r--r-- | source/dialogs/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/script.c b/source/dialogs/script.c index 26b9748f..27939f1e 100644 --- a/source/dialogs/script.c +++ b/source/dialogs/script.c @@ -309,7 +309,7 @@ static ModeMode script_mode_result ( Mode *sw, int mretv, char **input, unsigned return RELOAD_DIALOG; } script_mode_reset_highlight ( sw ); - new_list = execute_executor ( sw, rmpd->cmd_list[selected_line].entry, &new_length, 1, NULL ); + new_list = execute_executor ( sw, rmpd->cmd_list[selected_line].entry, &new_length, 1, &(rmpd->cmd_list[selected_line]) ); } else if ( ( mretv & MENU_CUSTOM_INPUT ) && *input != NULL && *input[0] != '\0' ) { if ( rmpd->no_custom == FALSE ) { |