From 47b8ac4f52d518205b2e3352c3e87cb2055d45a0 Mon Sep 17 00:00:00 2001 From: ptt Date: Thu, 30 May 2002 17:00:12 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 ++-- mbbsd/board.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index d9e8178d..b0fc7db9 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.36 2002/05/30 16:52:14 ptt Exp $ */ +/* $Id: bbs.c,v 1.37 2002/05/30 17:00:12 ptt Exp $ */ #include #include #include @@ -189,7 +189,7 @@ static void readdoent(int num, fileheader_t *ent) { if(!strncmp(title,"[¤½§i]",6)) special=1; if(strncmp(currtitle, title, TTLEN)) - prints("%6d %c\033[1;32m%c\033[m%-6s\033[%dm%-13.12s%s\033[m " + prints("%6d %c\033[1;32m%c\033[m%-6s\033[%dm%-13.12s\033[m%s " "\033[1m%.*s\033[m%s\n", num, type, ent->recommend?ent->recommend+'0':' ', ent->date, diff --git a/mbbsd/board.c b/mbbsd/board.c index f26e21b4..f65faf53 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.23 2002/05/26 02:08:43 ptt Exp $ */ +/* $Id: board.c,v 1.24 2002/05/30 17:00:12 ptt Exp $ */ #include #include #include @@ -1021,9 +1021,9 @@ static void choose_board(int newflag) { } break; case 'W': - if(class_bid > 0 && + if(currutmp->brc_id > 0 && (HAS_PERM(PERM_SYSOP) || (currmode & MODE_MENU))) { - b_note_edit_bname(class_bid); + b_note_edit_bname(currutmp->brc_id); brdnum = -1; } break; -- cgit v1.2.3