summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/modes.h4
-rw-r--r--mbbsd/menu.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/include/modes.h b/include/modes.h
index fe3a6b79..cc12b3d5 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -1,4 +1,4 @@
-/* $Id: modes.h,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: modes.h,v 1.2 2002/08/27 21:49:18 kcwu Exp $ */
#ifndef INCLUDE_MODES_H
#define INCLUDE_MODES_H
@@ -57,7 +57,7 @@
#define MAILALL 39
#define MJ 40
#define P_FRIEND 41
-#define LOGIN 42 /* main menu */
+#define LOGIN 42 /* main menu *//* 所有其他選單動態須在此之前 */
#define DICT 43
#define BRIDGE 44
#define ARCHIE 45
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index f4d28259..755a4319 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -1,4 +1,4 @@
-/* $Id: menu.c,v 1.17 2002/07/27 10:05:56 kcwu Exp $ */
+/* $Id: menu.c,v 1.18 2002/08/27 21:49:18 kcwu Exp $ */
#include "bbs.h"
/* help & menu processring */
@@ -187,6 +187,8 @@ domenu(int cmdmode, char *cmdtitle, int cmd, commands_t cmdtable[])
if (cmd0[cmdmode])
cmd = cmd0[cmdmode];
+ else
+ cmd = KEY_HOME;
setutmpmode(cmdmode);