summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-14 23:25:21 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-14 23:25:21 +0800
commit8c6694c7b42b12ef7fe58ce8c79b879ae767e681 (patch)
tree15f5cdc1e0c07fc5a7879ace1d03e82ffdca4747
parentb3b5cde16d5f6f63282f83033e04d538dfb87fc1 (diff)
downloadpttbbs-8c6694c7b42b12ef7fe58ce8c79b879ae767e681.tar
pttbbs-8c6694c7b42b12ef7fe58ce8c79b879ae767e681.tar.gz
pttbbs-8c6694c7b42b12ef7fe58ce8c79b879ae767e681.tar.bz2
pttbbs-8c6694c7b42b12ef7fe58ce8c79b879ae767e681.tar.lz
pttbbs-8c6694c7b42b12ef7fe58ce8c79b879ae767e681.tar.xz
pttbbs-8c6694c7b42b12ef7fe58ce8c79b879ae767e681.tar.zst
pttbbs-8c6694c7b42b12ef7fe58ce8c79b879ae767e681.zip
code refine and fix typo
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5433 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c4
-rw-r--r--pttbbs/mbbsd/ordersong.c2
-rw-r--r--pttbbs/mbbsd/stuff.c6
3 files changed, 5 insertions, 7 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index ba068121..a887e8ac 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -3050,7 +3050,7 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
{
move(ymsg--, 0); clrtoeol();
outs(ANSI_COLOR(1;31)
- "◆這篇文章來自暱名板或外站轉信板,原作者可能無法看到推文。"
+ "◆這篇文章來自匿名板或外站轉信板,原作者可能無法看到推文。"
ANSI_RESET "\n");
}
@@ -3087,7 +3087,7 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
#if defined(PLAY_ANGEL) && defined(BN_ANGELPRAY) && defined(ANGEL_ANONYMOUS_COMMENT)
if (HasUserPerm(PERM_ANGEL) && currboard && strcmp(currboard, BN_ANGELPRAY) == 0 &&
- vans("要使用小天使暱名推文嗎? [Y/n]: ") != 'n')
+ vans("要使用小天使匿名推文嗎? [Y/n]: ") != 'n')
{
// angel push
mynick[0] = 0;
diff --git a/pttbbs/mbbsd/ordersong.c b/pttbbs/mbbsd/ordersong.c
index 19f6bdac..b4e146e0 100644
--- a/pttbbs/mbbsd/ordersong.c
+++ b/pttbbs/mbbsd/ordersong.c
@@ -76,7 +76,7 @@ do_order_song(void)
outs(ANSI_COLOR(1) "注意點歌內容請勿涉及謾罵 人身攻擊 猥褻"
"公然侮辱 誹謗\n"
"若有上述違規情形,站方將保留決定是否公開播放的權利\n"
- "且違規者將不受暱名保護(其 ID 可被公佈於公開看板)\n"
+ "且違規者將不受匿名保護(其 ID 可被公佈於公開看板)\n"
"如不同意請按 (3) 離開。" ANSI_RESET "\n");
getdata(18, 0,
"請選擇 " ANSI_COLOR(1) "1)" ANSI_RESET " 開始點歌、"
diff --git a/pttbbs/mbbsd/stuff.c b/pttbbs/mbbsd/stuff.c
index 5042b0ff..690e228a 100644
--- a/pttbbs/mbbsd/stuff.c
+++ b/pttbbs/mbbsd/stuff.c
@@ -45,12 +45,10 @@ subject_ex(const char *title, int *ptype)
if (str_starts_with(title, str_reply)) {
title += strlen(str_reply);
ptype = _set_ptype(ptype, SUBJECT_REPLY);
- }
- else if (str_starts_with(title, str_forward)) {
+ } else if (str_starts_with(title, str_forward)) {
title += strlen(str_forward);
ptype = _set_ptype(ptype, SUBJECT_FORWARD);
- }
- else if (str_starts_with(title, str_legacy_forward)) {
+ } else if (str_starts_with(title, str_legacy_forward)) {
title += strlen(str_legacy_forward);
ptype = _set_ptype(ptype, SUBJECT_FORWARD);
} else {