diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/board.c | 1 | ||||
-rw-r--r-- | mbbsd/fav.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 913e7874..dcf2608e 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1075,6 +1075,7 @@ choose_board(int newflag) brdnum = -1; break; case 'y': + if (get_current_fav() != NULL || yank_flag != 0) yank_flag = (yank_flag + 1) % 2; brdnum = -1; break; diff --git a/mbbsd/fav.c b/mbbsd/fav.c index 8267cbe8..5446a1ea 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -38,10 +38,6 @@ inline int get_data_number(fav_t *fp){ return fp->nBoards + fp->nLines + fp->nFolders; } -inline int get_current_fav_level(void){ - return fav_stack_num; -} - inline fav_t *get_current_fav(void){ if (fav_stack_num == 0) return NULL; |