summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-27 13:44:53 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-27 13:44:53 +0800
commit39e1651a4f95ba640b42f23d09f6d4790c24004e (patch)
tree61da9f66ba5b944feb341272df04bc45336b76d9
parent7f8e7236c367778db1635497306bb423a0e738a1 (diff)
downloadpttbbs-39e1651a4f95ba640b42f23d09f6d4790c24004e.tar
pttbbs-39e1651a4f95ba640b42f23d09f6d4790c24004e.tar.gz
pttbbs-39e1651a4f95ba640b42f23d09f6d4790c24004e.tar.bz2
pttbbs-39e1651a4f95ba640b42f23d09f6d4790c24004e.tar.lz
pttbbs-39e1651a4f95ba640b42f23d09f6d4790c24004e.tar.xz
pttbbs-39e1651a4f95ba640b42f23d09f6d4790c24004e.tar.zst
pttbbs-39e1651a4f95ba640b42f23d09f6d4790c24004e.zip
remove fav branch, open new branch for big5<->gb
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c1
-rw-r--r--mbbsd/fav.c4
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;