diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-17 17:18:23 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-17 17:18:23 +0800 |
commit | 0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c (patch) | |
tree | 87901a47909a9146e51de102b95e0e99a364cc7d | |
parent | adaaedc95796cf26465678ad4909da11703f0c35 (diff) | |
download | pttbbs-0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c.tar pttbbs-0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c.tar.gz pttbbs-0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c.tar.bz2 pttbbs-0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c.tar.lz pttbbs-0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c.tar.xz pttbbs-0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c.tar.zst pttbbs-0f6ee15444ebc7e394a2eaa870b9c22ebc2d187c.zip |
10
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@43 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index d10b754f..19378b15 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -1,4 +1,4 @@ -/* $Id: menu.c,v 1.2 2002/03/17 06:06:26 in2 Exp $ */ +/* $Id: menu.c,v 1.3 2002/03/17 09:18:23 in2 Exp $ */ #include <stdio.h> #include <stdlib.h> #include <time.h> @@ -58,7 +58,7 @@ void showtitle(char *title, char *mid) { else if(currutmp->mailalert) { mid = "\033[41;5m ¶l®t¨Ó«ö¹aÅo " TITLE_COLOR; spc = 22; - } else if(HAS_PERM(PERM_SYSOP) && (nreg = dashs(fn_register)/163)) { + } else if(HAS_PERM(PERM_SYSOP) && (nreg = dashs(fn_register)/163) > 10) { sprintf(numreg, "\033[41;5m ¦³%03d/%03d¥¼¼f®Ö " TITLE_COLOR, nreg, (int)dashs("register.new.tmp") / 163); |