From afdd6c13fbb883c85c72e2df7366da912d1ce62c Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 25 Sep 2005 17:55:29 +0000 Subject: namecomplete display improvement git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 1 + mbbsd/name.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mbbsd/board.c b/mbbsd/board.c index f84aa519..13cdd930 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1096,6 +1096,7 @@ choose_board(int newflag) show_brdlist(head, 1, newflag); break; } + head = -1; num = tmp; break; case 'E': diff --git a/mbbsd/name.c b/mbbsd/name.c index 83dcf373..8fd78fb7 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -279,7 +279,7 @@ namecomplete(const char *prompt, char *data) while ((ch = igetch()) != EOF) { if (ch == '\n' || ch == '\r') { *temp = '\0'; - outc('\n'); + // outc('\n'); if (NumInList(cwlist) == 1) strcpy(data, cwlist->word); else if (!InList(cwlist, data)) -- cgit v1.2.3