summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index f7a5d55a..fe7682a3 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -263,7 +263,7 @@ adbanner(int cmdmode)
if (cmdmode > 0 && cmdmode < N_SYSADBANNER &&
0 < adbanner_map[cmdmode] && adbanner_map[cmdmode] <= SHM->last_film) {
- i = cmdmode;
+ i = adbanner_map[cmdmode];
} else if (cmdmode == 999999) { /* Goodbye my friend */
i = 0;
} else {