summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-04 01:12:52 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-04 01:12:52 +0800
commitdd335b471838fa45d85838bec7251b9a7525735a (patch)
tree48fba1059e8c1a91ebcd42e34c428bcbec83b765 /mbbsd/board.c
parent974c4a844dbb4cd4589fee6a025469e30e0582e5 (diff)
downloadpttbbs-dd335b471838fa45d85838bec7251b9a7525735a.tar
pttbbs-dd335b471838fa45d85838bec7251b9a7525735a.tar.gz
pttbbs-dd335b471838fa45d85838bec7251b9a7525735a.tar.bz2
pttbbs-dd335b471838fa45d85838bec7251b9a7525735a.tar.lz
pttbbs-dd335b471838fa45d85838bec7251b9a7525735a.tar.xz
pttbbs-dd335b471838fa45d85838bec7251b9a7525735a.tar.zst
pttbbs-dd335b471838fa45d85838bec7251b9a7525735a.zip
fix sig devide by zero bug,
query user -> cuser.money git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 9b6c0b87..08d7ffac 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -531,12 +531,12 @@ show_brdlist(int head, int clsflag, int newflag)
prints("%5d %c %sMyFavFolder" ANSI_RESET " ¥Ø¿ý ¡¼%-34s" ANSI_RESET,
head,
ptr->myattr & NBRD_TAG ? 'D' : ' ',
- !(cuser.uflag2 & FAVNOHILIGHT) ? ANSI_COLOR(1;36) : "",
+ !(cuser.uflag2 & FAVNOHILIGHT) ? HILIGHT_COLOR : "",
title);
else
prints("%6d %sMyFavFolder" ANSI_RESET " ¥Ø¿ý ¡¼%-34s" ANSI_RESET,
get_data_number(get_fav_folder(getfolder(ptr->bid))),
- !(cuser.uflag2 & FAVNOHILIGHT) ? ANSI_COLOR(1;36) : "",
+ !(cuser.uflag2 & FAVNOHILIGHT) ? HILIGHT_COLOR : "",
title);
continue;
}
@@ -569,7 +569,7 @@ show_brdlist(int head, int clsflag, int newflag)
prints("%s%-13s" ANSI_RESET "%s%5.5s" ANSI_COLOR(0;37) "%2.2s" ANSI_RESET
"%-34.34s",
((!(cuser.uflag2 & FAVNOHILIGHT) &&
- getboard(ptr->bid) != NULL))? ANSI_COLOR(1;36) : "",
+ getboard(ptr->bid) != NULL))? HILIGHT_COLOR : "",
B_BH(ptr)->brdname,
make_class_color(B_BH(ptr)->title),
B_BH(ptr)->title, B_BH(ptr)->title + 5, B_BH(ptr)->title + 7);