summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 2f26b5b9..30ae48b6 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1724,16 +1724,16 @@ recommend(int ent, fileheader_t * fhdr, char *direct)
#ifdef OLDRECOMMEND
snprintf(buf, sizeof(buf),
- "\033[1;31m¡÷ \033[33m%s\033[m\033[33m:%*s\033[m"
+ "\033[1;31m¡÷ \033[33m%s\033[m\033[33m:%-*s\033[m"
"±À%15s %02d/%02d\n",
- cuser.userid, -maxlength, msg,
+ cuser.userid, maxlength, msg,
fromhost, ptime->tm_mon + 1, ptime->tm_mday);
#else
snprintf(buf, sizeof(buf),
- "\033[1;%s \033[33m%s\033[m\033[33m:%*s\033[m%15s %02d/%02d\n",
+ "\033[1;%s \033[33m%s\033[m\033[33m:%-*s\033[m%15s %02d/%02d\n",
ctype[type],
cuser.userid,
- -maxlength,
+ maxlength,
msg,
fromhost,
ptime->tm_mon + 1, ptime->tm_mday);