summaryrefslogtreecommitdiffstats
path: root/pttbbs
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-04 20:25:42 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-04 20:25:42 +0800
commit43cae09c309ae2787f9f495733204c4e6be3b3a4 (patch)
tree3bd78e7c4c92acd192ffb2fbb4c33d70efd129db /pttbbs
parent5b7d278d6d808e0bbb1721661b8b48c8c62c15bd (diff)
downloadpttbbs-43cae09c309ae2787f9f495733204c4e6be3b3a4.tar
pttbbs-43cae09c309ae2787f9f495733204c4e6be3b3a4.tar.gz
pttbbs-43cae09c309ae2787f9f495733204c4e6be3b3a4.tar.bz2
pttbbs-43cae09c309ae2787f9f495733204c4e6be3b3a4.tar.lz
pttbbs-43cae09c309ae2787f9f495733204c4e6be3b3a4.tar.xz
pttbbs-43cae09c309ae2787f9f495733204c4e6be3b3a4.tar.zst
pttbbs-43cae09c309ae2787f9f495733204c4e6be3b3a4.zip
Fix date display bug due to bad y2k patch
Thank wushangju.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttbbs')
-rw-r--r--pttbbs/mbbsd/xyz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/xyz.c b/pttbbs/mbbsd/xyz.c
index 55f9e475..40578519 100644
--- a/pttbbs/mbbsd/xyz.c
+++ b/pttbbs/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);