summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-10-30 10:37:25 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-10-30 10:37:25 +0800
commitfd779997891c49f0d3d370e011a932276a0ac214 (patch)
tree4d04ac94a7d111a70a19bbb9752b736ab8a5424b
parent2cc5019fa94206ed6e81e53bb24e38307aca9d84 (diff)
downloadpttbbs-fd779997891c49f0d3d370e011a932276a0ac214.tar
pttbbs-fd779997891c49f0d3d370e011a932276a0ac214.tar.gz
pttbbs-fd779997891c49f0d3d370e011a932276a0ac214.tar.bz2
pttbbs-fd779997891c49f0d3d370e011a932276a0ac214.tar.lz
pttbbs-fd779997891c49f0d3d370e011a932276a0ac214.tar.xz
pttbbs-fd779997891c49f0d3d370e011a932276a0ac214.tar.zst
pttbbs-fd779997891c49f0d3d370e011a932276a0ac214.zip
refine ui
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/psb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/psb.c b/pttbbs/mbbsd/psb.c
index 1c2ac5ab..ccd2b9aa 100644
--- a/pttbbs/mbbsd/psb.c
+++ b/pttbbs/mbbsd/psb.c
@@ -389,7 +389,7 @@ pvrb_header(void *ctx) {
cx->subject);
move(1, 0);
outs("請注意此處的檔案將不定期清除。\n");
- vbarf(ANSI_REVERSE " 編號 日 期 作 者 標 題\t");
+ vbarf(ANSI_REVERSE " 編號 | 日 期 | 作 者 | 標 題\t");
return 0;
}
@@ -412,8 +412,8 @@ pvrb_renderer(int i, int curr, int total, int rows, void *ctx) {
if (i == curr)
// prints(ANSI_COLOR(1;40;3%d), i%8);
outs(ANSI_COLOR(1;40;31));
- prints(" %06d %-5.5s %-12.12s %-*.*s" ANSI_RESET "\n",
- i+1, fh->date, fh->owner, t_columns-31, t_columns-31, fh->title);
+ prints("%06d %-5.5s %-12.12s %s" ANSI_RESET "\n",
+ i+1, fh->date, fh->owner, fh->title);
return 0;
}