From b3f1cdca4c85eb441129a0798f5cdea14852f439 Mon Sep 17 00:00:00 2001 From: ptt Date: Thu, 30 May 2002 17:04:59 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 7 +++++-- mbbsd/board.c | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'mbbsd') 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 #include #include @@ -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 #include #include @@ -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; -- cgit v1.2.3