summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-28 05:49:18 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-28 05:49:18 +0800
commit6053ebd7b8ea66bd915590130737ff8d4edb0261 (patch)
tree2b45a654423c040a7df2f1e058fb8e6a3fe2fc40 /mbbsd
parent531dfe7dbfb67e2aef5598ea80da034a2fcf70eb (diff)
downloadpttbbs-6053ebd7b8ea66bd915590130737ff8d4edb0261.tar
pttbbs-6053ebd7b8ea66bd915590130737ff8d4edb0261.tar.gz
pttbbs-6053ebd7b8ea66bd915590130737ff8d4edb0261.tar.bz2
pttbbs-6053ebd7b8ea66bd915590130737ff8d4edb0261.tar.lz
pttbbs-6053ebd7b8ea66bd915590130737ff8d4edb0261.tar.xz
pttbbs-6053ebd7b8ea66bd915590130737ff8d4edb0261.tar.zst
pttbbs-6053ebd7b8ea66bd915590130737ff8d4edb0261.zip
when enter menu, relocate position first
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@502 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/menu.c4
1 files changed, 3 insertions, 1 deletions
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);