summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index d6816ff0..b9fcdbf7 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1548,15 +1548,17 @@ choose_board(int newflag)
break;
case 's':
{
- int cbid = currbid;
+ // XXX TODO
+ // 現在這樣搜不到群組...
+ //
// try global search instead.
- ReadSelect();
+ int trysearch = ReadSelect();
// restore my mode
setutmpmode(newflag ? READNEW : READBRD);
// force refresh
head = -1;
// try to match cursor if we can.
- if (cbid != currbid && currbid && currboard)
+ if (trysearch && currboard)
{
if ((tmp = search_board(currboard)) != -1)
num = tmp;