summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-07 02:10:18 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-07 02:10:18 +0800
commitb3bb4b2108f3c2d60bb005fd63dafc5e8a72045a (patch)
treef700a2feaa337c18bb391953f3de22692cbeb6f5 /mbbsd
parent243b8fa1bcadfb312cc334fdd83322a043d97a41 (diff)
downloadpttbbs-b3bb4b2108f3c2d60bb005fd63dafc5e8a72045a.tar
pttbbs-b3bb4b2108f3c2d60bb005fd63dafc5e8a72045a.tar.gz
pttbbs-b3bb4b2108f3c2d60bb005fd63dafc5e8a72045a.tar.bz2
pttbbs-b3bb4b2108f3c2d60bb005fd63dafc5e8a72045a.tar.lz
pttbbs-b3bb4b2108f3c2d60bb005fd63dafc5e8a72045a.tar.xz
pttbbs-b3bb4b2108f3c2d60bb005fd63dafc5e8a72045a.tar.zst
pttbbs-b3bb4b2108f3c2d60bb005fd63dafc5e8a72045a.zip
msgs updates
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
-rw-r--r--mbbsd/talk.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 6a614bcb..e0858d18 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -389,7 +389,7 @@ readdoent(int num, fileheader_t * ent)
{
#ifdef COLORDATE
prints(ANSI_COLOR(%d) "%-6s" ANSI_RESET,
- (ent->date[3] + ent->date[4]) % 7 + 31, enc->date);
+ (ent->date[3] + ent->date[4]) % 7 + 31, ent->date);
#else
prints("%-6s", ent->date);
#endif
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 4b6712c6..704cca6b 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1988,8 +1988,8 @@ draw_pickup(int drawall, pickup_t * pickup, int pickup_way,
showtitle((cuser.uflag & FRIEND_FLAG) ? "好友列表" : "休閒聊天",
BBSName);
prints("\n"
- ANSI_COLOR(7) " %s P%c代號 %-17s%-17s%-13s%-10s" ANSI_RESET "\n",
- show_uid ? "UID" : "No.",
+ ANSI_COLOR(7) " %sP%c代號 %-17s%-17s%-13s%-10s" ANSI_RESET "\n",
+ show_uid ? "UID " : " No.",
(HasUserPerm(PERM_SEECLOAK) || HasUserPerm(PERM_SYSOP)) ? 'C' : ' ',
"暱稱",
MODE_STRING[show_mode],
@@ -2059,7 +2059,7 @@ draw_pickup(int drawall, pickup_t * pickup, int pickup_way,
else
memcpy(mind, uentp->mind, 4);
mind[4] = 0;
- prints("%5d %c%c%s%-13s%-17.16s" ANSI_RESET "%-17.16s%-13.13s"
+ prints("%6d%c%c%s%-13s%-17.16s" ANSI_RESET "%-17.16s%-13.13s"
ANSI_COLOR(33) "%-4.4s" ANSI_RESET "%s\n",
/* list number or uid */