diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-12-02 20:43:21 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-12-02 20:43:21 +0800 |
commit | 46ce48e5d73747963891833b2725839aaac035f1 (patch) | |
tree | 078b8b9e766bb007de90c3e644516b93099c4bfe /mbbsd/menu.c | |
parent | b8068a594bf203c8619e7509c7ae20085f2a1021 (diff) | |
download | pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.gz pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.bz2 pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.lz pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.xz pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.zst pttbbs-46ce48e5d73747963891833b2725839aaac035f1.zip |
some help pages are showed from file
more comments
remove dirty hack in fav.c since it's safe now
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/menu.c')
-rw-r--r-- | mbbsd/menu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index fc0e4435..975656e3 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -5,7 +5,6 @@ static int refscreen = NA; extern char *boardprefix; extern struct utmpfile_t *utmpshm; -extern char *fn_board; extern char board_hidden_status; void @@ -34,7 +33,7 @@ showtitle(char *title, char *mid) mid = "\033[41;5m ¶l®t¨Ó«ö¹aÅo " TITLE_COLOR; spc = 22; } else if ((HAS_PERM(PERM_SYSOP) || HAS_PERM(PERM_ACCOUNTS)) && - (nreg = dashs(fn_register) / 163) >100) { + (nreg = dashs((char *)fn_register) / 163) >100) { snprintf(numreg, sizeof(numreg), "\033[41;5m ¦³ %03d ¥¼¼f®Ö " TITLE_COLOR, nreg); |