summaryrefslogtreecommitdiffstats
path: root/source/dialogs/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/dialogs/script.c')
-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;