diff options
-rw-r--r-- | mbbsd/bbs.c | 7 | ||||
-rw-r--r-- | mbbsd/board.c | 6 |
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; |