diff options
Diffstat (limited to 'source/dialogs/script.c')
-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 ) { |