diff options
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 3486c986..32a90f84 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -845,6 +845,7 @@ int whereami(void) { boardheader_t *bh, *p[WHEREAMI_LEVEL]; + char category[sizeof(bh->title)] = "", *pcat; int i, j; int bid = currbid; int total_boards; @@ -868,6 +869,16 @@ whereami(void) p[j]->brdname, p[j]->title, p[j]->BM); + move(b_lines - 2, 0); + strlcpy(category, p[i]->title + 7, sizeof(category)); + if ((pcat = strchr(category, ' ')) != NULL) + *pcat = 0; + prints("¦ì¸m: "); + for (j = i; j >= 0; j--) + prints("%s%s ", + (j == i) ? category: p[j]->brdname, + j ? " >": ""); + pressanykey(); return FULLUPDATE; } |