diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-20 17:15:02 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-20 17:15:02 +0800 |
commit | 91348eee11aa095348642b6d7923ed0b94fd1a13 (patch) | |
tree | 833fcd31d366dc5f30e148b5300f32f482e7fcf4 /mbbsd | |
parent | e91e8e5497b727c8161b6eaefd2e41fe5dfe22f6 (diff) | |
download | pttbbs-91348eee11aa095348642b6d7923ed0b94fd1a13.tar pttbbs-91348eee11aa095348642b6d7923ed0b94fd1a13.tar.gz pttbbs-91348eee11aa095348642b6d7923ed0b94fd1a13.tar.bz2 pttbbs-91348eee11aa095348642b6d7923ed0b94fd1a13.tar.lz pttbbs-91348eee11aa095348642b6d7923ed0b94fd1a13.tar.xz pttbbs-91348eee11aa095348642b6d7923ed0b94fd1a13.tar.zst pttbbs-91348eee11aa095348642b6d7923ed0b94fd1a13.zip |
This goes with the previous revision
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 462134ac..f7a5d55a 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -356,10 +356,11 @@ static const int mode_map[] = { static void domenu(int cmdmode, const char *cmdtitle, int cmd, const commands_t cmdtable[]) { - int lastcmdptr; + int lastcmdptr, adbannermode; int n, pos, total, i; int err; + adbannermode = cmdmode; assert(cmdmode < M_XMAX); cmdmode = mode_map[cmdmode]; @@ -367,7 +368,7 @@ domenu(int cmdmode, const char *cmdtitle, int cmd, const commands_t cmdtable[]) showtitle(cmdtitle, BBSName); - total = show_menu(cmdmode, cmdtable); + total = show_menu(adbannermode, cmdtable); show_status(); lastcmdptr = pos = 0; |