From 5d77e309ff86042fe664d4a75f8ca954e6fa3873 Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 17 May 2006 11:57:11 +0000 Subject: revert ui: always show empty dir in fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 12 +----------- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3