diff options
-rw-r--r-- | mbbsd/bbs.c | 4 | ||||
-rw-r--r-- | mbbsd/board.c | 6 |
2 files changed, 5 insertions, 5 deletions
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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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; |