diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-13 19:15:27 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-13 19:15:27 +0800 |
commit | 988c1a522b7715a3c908d55d2264a9d1eb892105 (patch) | |
tree | 738da7fa336a7febbe0e209e99b9cc50ce2c2d47 | |
parent | cc8f5372272788f9b8b5c2df601a55bb5868851d (diff) | |
download | pttbbs-988c1a522b7715a3c908d55d2264a9d1eb892105.tar pttbbs-988c1a522b7715a3c908d55d2264a9d1eb892105.tar.gz pttbbs-988c1a522b7715a3c908d55d2264a9d1eb892105.tar.bz2 pttbbs-988c1a522b7715a3c908d55d2264a9d1eb892105.tar.lz pttbbs-988c1a522b7715a3c908d55d2264a9d1eb892105.tar.xz pttbbs-988c1a522b7715a3c908d55d2264a9d1eb892105.tar.zst pttbbs-988c1a522b7715a3c908d55d2264a9d1eb892105.zip |
fix board hilighting
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 4 |
1 files 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 = ""; |