diff options
-rw-r--r-- | mbbsd/board.c | 4 | ||||
-rw-r--r-- | mbbsd/var.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 44014b93..2d774033 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.19 2002/05/25 06:18:09 ptt Exp $ */ +/* $Id: board.c,v 1.20 2002/05/25 06:28:21 ptt Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -428,7 +428,7 @@ static boardstat_t * addnewbrdstat(int n, int state) } static int cmpboardname(boardstat_t *brd, boardstat_t *tmp) { - return brd->bh->nuser- tmp->bh->nuser; + return tmp->bh->nuser - brd->bh->nuser; } static void load_boards(char *key) { diff --git a/mbbsd/var.c b/mbbsd/var.c index ff2febf0..e7fbb118 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -1,4 +1,4 @@ -/* $Id: var.c,v 1.4 2002/05/25 06:11:38 ptt Exp $ */ +/* $Id: var.c,v 1.5 2002/05/25 06:28:21 ptt Exp $ */ #include <stdio.h> #include <sys/types.h> #include "config.h" @@ -51,8 +51,8 @@ char *str_permboard[] = { "預設匿名版", /* BRD_DEFAULTANONYMOUS */ "違法改進中看版", /* BRD_BAD */ "連署專用看版", /* BRD_VOTEBOARD */ + "已警告要廢除", /* BRD_WARNEL */ "熱門看板群組", /* BRD_TOP */ - "沒想到", "沒想到", "沒想到", "沒想到", |