summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-31 01:04:59 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-31 01:04:59 +0800
commitb3f1cdca4c85eb441129a0798f5cdea14852f439 (patch)
treecb0462dd3204ba449ffc12e177964c58ff6736e9 /mbbsd
parent47b8ac4f52d518205b2e3352c3e87cb2055d45a0 (diff)
downloadpttbbs-b3f1cdca4c85eb441129a0798f5cdea14852f439.tar
pttbbs-b3f1cdca4c85eb441129a0798f5cdea14852f439.tar.gz
pttbbs-b3f1cdca4c85eb441129a0798f5cdea14852f439.tar.bz2
pttbbs-b3f1cdca4c85eb441129a0798f5cdea14852f439.tar.lz
pttbbs-b3f1cdca4c85eb441129a0798f5cdea14852f439.tar.xz
pttbbs-b3f1cdca4c85eb441129a0798f5cdea14852f439.tar.zst
pttbbs-b3f1cdca4c85eb441129a0798f5cdea14852f439.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c7
-rw-r--r--mbbsd/board.c6
2 files changed, 8 insertions, 5 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index b0fc7db9..ed68b9c1 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.37 2002/05/30 17:00:12 ptt Exp $ */
+/* $Id: bbs.c,v 1.38 2002/05/30 17:04:59 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -1515,7 +1515,10 @@ int b_note_edit_bname(int bid) {
char buf[64];
int aborted;
boardheader_t *fh=getbcache(bid);
-
+ pressanykey();
+move(10,10);
+prints("[[[%d]]]", bid);
+pressanykey();
setbfile(buf, fh->brdname, fn_notes);
aborted = vedit(buf, NA, NULL);
if(aborted == -1) {
diff --git a/mbbsd/board.c b/mbbsd/board.c
index f65faf53..99c015ec 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.24 2002/05/30 17:00:12 ptt Exp $ */
+/* $Id: board.c,v 1.25 2002/05/30 17:04:59 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -1021,9 +1021,9 @@ static void choose_board(int newflag) {
}
break;
case 'W':
- if(currutmp->brc_id > 0 &&
+ if(class_bid > 0 &&
(HAS_PERM(PERM_SYSOP) || (currmode & MODE_MENU))) {
- b_note_edit_bname(currutmp->brc_id);
+ b_note_edit_bname(class_bid);
brdnum = -1;
}
break;