summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 03:17:26 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 03:17:26 +0800
commit462ff2cf4bd5c3693bd47bacce07f6b5122f9973 (patch)
tree21887557211e1d827e4d676386fd5105c7bac040
parent7fcc0a26f42d20ceb87429d3b25ceff226e110a7 (diff)
downloadpttbbs-462ff2cf4bd5c3693bd47bacce07f6b5122f9973.tar
pttbbs-462ff2cf4bd5c3693bd47bacce07f6b5122f9973.tar.gz
pttbbs-462ff2cf4bd5c3693bd47bacce07f6b5122f9973.tar.bz2
pttbbs-462ff2cf4bd5c3693bd47bacce07f6b5122f9973.tar.lz
pttbbs-462ff2cf4bd5c3693bd47bacce07f6b5122f9973.tar.xz
pttbbs-462ff2cf4bd5c3693bd47bacce07f6b5122f9973.tar.zst
pttbbs-462ff2cf4bd5c3693bd47bacce07f6b5122f9973.zip
adjust recommend to the front of id
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 13bd6fb1..25e65edc 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1548,9 +1548,9 @@ recommend(int ent, fileheader_t * fhdr, char *direct)
return FULLUPDATE;
snprintf(buf, sizeof(buf),
- "\033[1;31m¡÷ \033[33m%s\033[%s\033[m\033[33m:%s\033[m%*s%15s %02d/%02d\n",
- cuser.userid,
+ "\033[1;31m¡÷ \033[%s\033[33m%s\033[m\033[33m:%s\033[m%*s%15s %02d/%02d\n",
ctype[type],
+ cuser.userid,
path,
56 - strlen(cuser.userid) - strlen(path) - strlen(ctype[type]),
" ",