summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-26 01:55:29 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-26 01:55:29 +0800
commitafdd6c13fbb883c85c72e2df7366da912d1ce62c (patch)
tree4b98739aaed97ad7eb0d2c54f775a5f70305ae74 /mbbsd
parentdda27c3337bfe813cff4f7fc8c3f953a9dce3c85 (diff)
downloadpttbbs-afdd6c13fbb883c85c72e2df7366da912d1ce62c.tar
pttbbs-afdd6c13fbb883c85c72e2df7366da912d1ce62c.tar.gz
pttbbs-afdd6c13fbb883c85c72e2df7366da912d1ce62c.tar.bz2
pttbbs-afdd6c13fbb883c85c72e2df7366da912d1ce62c.tar.lz
pttbbs-afdd6c13fbb883c85c72e2df7366da912d1ce62c.tar.xz
pttbbs-afdd6c13fbb883c85c72e2df7366da912d1ce62c.tar.zst
pttbbs-afdd6c13fbb883c85c72e2df7366da912d1ce62c.zip
namecomplete display improvement
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c1
-rw-r--r--mbbsd/name.c2
2 files changed, 2 insertions, 1 deletions
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))