diff options
Diffstat (limited to 'util/mandex.c')
-rw-r--r-- | util/mandex.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/util/mandex.c b/util/mandex.c index ed8ee9c9..0b039653 100644 --- a/util/mandex.c +++ b/util/mandex.c @@ -274,8 +274,13 @@ int main(int argc, char* argv[]) break; } if (n >= numboards || - (bptr->brdattr & (BRD_BAD | BRD_NOCOUNT | BRD_HIDE))) + (bptr->brdattr & (BRD_BAD | BRD_NOCOUNT))) continue; + + /* 板主設定不列入記錄 */ + if (bptr->brdattr & BRD_HIDE && !(bptr->badattr & BRD_BMCOUNT)) + continue; + if (board[ch].ndir + board[ch].nfile < 5) break; fprintf(fndx, "%3d.[33m%15s[m %5d %7d %10d %6d [31m%-24.24s[m\n", |