diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-05-17 19:57:11 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-05-17 19:57:11 +0800 |
commit | 5d77e309ff86042fe664d4a75f8ca954e6fa3873 (patch) | |
tree | fdd766d9948c09ea181a5216b75c8eb0f520033e | |
parent | def3acc0ff6ac2eb6ef87740a8f39b55894a49c8 (diff) | |
download | pttbbs-5d77e309ff86042fe664d4a75f8ca954e6fa3873.tar pttbbs-5d77e309ff86042fe664d4a75f8ca954e6fa3873.tar.gz pttbbs-5d77e309ff86042fe664d4a75f8ca954e6fa3873.tar.bz2 pttbbs-5d77e309ff86042fe664d4a75f8ca954e6fa3873.tar.lz pttbbs-5d77e309ff86042fe664d4a75f8ca954e6fa3873.tar.xz pttbbs-5d77e309ff86042fe664d4a75f8ca954e6fa3873.tar.zst pttbbs-5d77e309ff86042fe664d4a75f8ca954e6fa3873.zip |
revert ui: always show empty dir in fav
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index a496acd4..2794d735 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -260,8 +260,6 @@ load_boards(char *key) fav_t *fav = get_current_fav(); int nfav = get_data_number(fav); if( nfav == 0 ) { - if (get_current_fav() == get_fav_root()) - return; nbrdsize = 1; nbrd = (boardstat_t *)malloc(sizeof(boardstat_t) * 1); addnewbrdstat(0, 0); // dummy @@ -555,8 +553,7 @@ show_brdlist(int head, int clsflag, int newflag) char *unread[2] = {ANSI_COLOR(37) " " ANSI_RESET, ANSI_COLOR(1;31) "ˇ" ANSI_RESET}; if (IS_LISTING_FAV() && get_data_number(get_current_fav()) == 0){ - move(3, 0); - outs(" --- 空目錄 ---"); + mouts(3, 0, " --- 空目錄 - 請按 a (add) 或 i (insert) 加入看板 ---"); return; } @@ -744,13 +741,6 @@ choose_board(int newflag) } else break; } - else if (IS_LISTING_FAV()) { - if (get_current_fav() == get_fav_root()) { - brdnum = -1; - LIST_BRD(); - continue; - } - } } head = -1; } |