diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-04 20:25:42 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-04 20:25:42 +0800 |
commit | a309c14cf950a6b672485eec05eb05a827c8b27d (patch) | |
tree | 19bcf31078ec42a6273c196b078632646c6993b7 /mbbsd | |
parent | 7294a2c79c455512e76dca69ff6fd0697adae4b7 (diff) | |
download | pttbbs-a309c14cf950a6b672485eec05eb05a827c8b27d.tar pttbbs-a309c14cf950a6b672485eec05eb05a827c8b27d.tar.gz pttbbs-a309c14cf950a6b672485eec05eb05a827c8b27d.tar.bz2 pttbbs-a309c14cf950a6b672485eec05eb05a827c8b27d.tar.lz pttbbs-a309c14cf950a6b672485eec05eb05a827c8b27d.tar.xz pttbbs-a309c14cf950a6b672485eec05eb05a827c8b27d.tar.zst pttbbs-a309c14cf950a6b672485eec05eb05a827c8b27d.zip |
Fix date display bug due to bad y2k patch
Thank wushangju.bbs@ptt2
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/xyz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c index 55f9e475..40578519 100644 --- a/mbbsd/xyz.c +++ b/mbbsd/xyz.c @@ -1,4 +1,4 @@ -/* $Id: xyz.c,v 1.17 2003/02/12 14:31:34 victor Exp $ */ +/* $Id: xyz.c,v 1.18 2003/03/04 12:25:42 kcwu Exp $ */ #include "bbs.h" /* 各種統計及相關資訊列表 */ @@ -246,9 +246,9 @@ note() myitem.userid, myitem.username); len = strlen(buf); - for (i = len; i < 73; i++) + for (i = len; i < 71; i++) strcat(buf, " "); - snprintf(buf2, sizeof(buf2), " \033[1;36m%.14s\033[31m ├╮\033[m\n", + snprintf(buf2, sizeof(buf2), " \033[1;36m%.16s\033[31m ├╮\033[m\n", Cdate(&(myitem.date))); strcat(buf, buf2); fputs(buf, fp); |