summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-02-13 21:29:02 +0100
committerDave Davenport <qball@gmpclient.org>2020-02-13 21:29:02 +0100
commitc458047ef679515837656e90876910afdcd4c32d (patch)
treefb0d0e443754a50dac96fd241757c816ef2c2314
parent03775378e0af1a4f27990f4bf6492a585260b3ff (diff)
[Script] Fix next dialog option.
Error slipped in from previous patch. Issue: #1059
-rw-r--r--source/dialogs/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/script.c b/source/dialogs/script.c
index 22f518a6..d9f1e26c 100644
--- a/source/dialogs/script.c
+++ b/source/dialogs/script.c
@@ -248,7 +248,7 @@ static ModeMode script_mode_result ( Mode *sw, int mretv, char **input, unsigned
unsigned int new_length = 0;
if ( ( mretv & MENU_NEXT ) ) {
- retv = RELOAD_DIALOG;;
+ retv = NEXT_DIALOG;
}
else if ( ( mretv & MENU_PREVIOUS ) ) {
retv = PREVIOUS_DIALOG;