From 988c1a522b7715a3c908d55d2264a9d1eb892105 Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 13 May 2004 11:15:27 +0000 Subject: fix board hilighting git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbbsd/board.c b/mbbsd/board.c index 7fd841f9..983cc746 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -484,8 +484,8 @@ show_brdlist(int head, int clsflag, int newflag) /* start_of_board_decoration */ - if (yank_flag == 0) - favcolor = !(cuser.uflag2 & FAVNOHILIGHT) ? "\033[1;36m" : ""; + if (!(cuser.uflag2 & FAVNOHILIGHT) && getboard(ptr->bid) != NULL) + favcolor = "\033[1;36m"; else favcolor = ""; -- cgit v1.2.3