summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-21 21:10:20 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-21 21:10:20 +0800
commit2530eea53b4696a9f5a28baeff46d517d78cd9dd (patch)
tree37887ff307a1c6ffd0ed18a838e89103ff525912
parent0111ec6bdca4a46e6b3b39f2a88a5d7b0ca58a58 (diff)
downloadpttbbs-2530eea53b4696a9f5a28baeff46d517d78cd9dd.tar
pttbbs-2530eea53b4696a9f5a28baeff46d517d78cd9dd.tar.gz
pttbbs-2530eea53b4696a9f5a28baeff46d517d78cd9dd.tar.bz2
pttbbs-2530eea53b4696a9f5a28baeff46d517d78cd9dd.tar.lz
pttbbs-2530eea53b4696a9f5a28baeff46d517d78cd9dd.tar.xz
pttbbs-2530eea53b4696a9f5a28baeff46d517d78cd9dd.tar.zst
pttbbs-2530eea53b4696a9f5a28baeff46d517d78cd9dd.zip
* fix typo for 'separator'
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4946 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/include/common.h2
-rw-r--r--pttbbs/mbbsd/angel.c2
-rw-r--r--pttbbs/mbbsd/bbs.c4
-rw-r--r--pttbbs/mbbsd/board.c2
-rw-r--r--pttbbs/mbbsd/chat.c4
-rw-r--r--pttbbs/mbbsd/var.c2
-rw-r--r--pttbbs/mbbsd/vote.c8
7 files changed, 12 insertions, 12 deletions
diff --git a/pttbbs/include/common.h b/pttbbs/include/common.h
index fb508b44..87c72bbc 100644
--- a/pttbbs/include/common.h
+++ b/pttbbs/include/common.h
@@ -130,7 +130,7 @@
#define MSG_SELECT_BOARD ANSI_COLOR(7) " 匡拒狾 " ANSI_RESET "\n" \
"叫块狾嘿(フ龄笆穓碝): "
-#define MSG_SEPERATOR "\
+#define MSG_SEPARATOR "\
"
/* Flags to getdata input function */
diff --git a/pttbbs/mbbsd/angel.c b/pttbbs/mbbsd/angel.c
index ab4f2bbc..b2da644b 100644
--- a/pttbbs/mbbsd/angel.c
+++ b/pttbbs/mbbsd/angel.c
@@ -305,7 +305,7 @@ NoAngelFound(const char* msg){
grayout(0, b_lines-3, GRAYOUT_DARK);
move(b_lines-4, 0); clrtobot();
- outs(msg_seperator);
+ outs(msg_separator);
move(b_lines-2, 0);
if (!msg)
msg = "ぱㄏ瞷ぃ絬";
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 507b6be2..c44701f1 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -1585,12 +1585,12 @@ edit_post(int ent, fileheader_t * fhdr, const char *direct)
{
int c = 0;
- fprintf(fp, MSG_SEPERATOR "\n");
+ fprintf(fp, MSG_SEPARATOR "\n");
fprintf(fp, "砆э筁程穝ず甧: ");
fprintf(fp,
" (%s)\n",
Cdate_mdHM(&newmt));
- fprintf(fp, MSG_SEPERATOR "\n");
+ fprintf(fp, MSG_SEPARATOR "\n");
while ((c = fgetc(src)) >= 0)
fputc(c, fp);
fclose(src);
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c
index 27daf0b5..9e8753db 100644
--- a/pttbbs/mbbsd/board.c
+++ b/pttbbs/mbbsd/board.c
@@ -319,7 +319,7 @@ b_config(void)
move(ytitle-1, 0);
clrtobot();
- // outs(MSG_SEPERATOR); // deprecated by grayout
+ // outs(MSG_SEPARATOR); // deprecated by grayout
outs("\n" ANSI_REVERSE); // now (ytitle, 0);
vbarf(" %s狾砞﹚", bp->brdname);
diff --git a/pttbbs/mbbsd/chat.c b/pttbbs/mbbsd/chat.c
index 1de0b036..801b778b 100644
--- a/pttbbs/mbbsd/chat.c
+++ b/pttbbs/mbbsd/chat.c
@@ -438,11 +438,11 @@ t_chat(void)
chatline = 2;
move(STOP_LINE, 0);
- outs(msg_seperator);
+ outs(msg_separator);
move(STOP_LINE, 56);
outs(" /h 琩高 /b 瞒秨 ");
move(1, 0);
- outs(msg_seperator);
+ outs(msg_separator);
print_chatid(chatid);
memset(inbuf, 0, sizeof(inbuf));
diff --git a/pttbbs/mbbsd/var.c b/pttbbs/mbbsd/var.c
index b9d8ad74..2ad9fc12 100644
--- a/pttbbs/mbbsd/var.c
+++ b/pttbbs/mbbsd/var.c
@@ -142,7 +142,7 @@ char * const loginview_file[NUMVIEWFILE][2] = {
};
/* message */
-char * const msg_seperator = MSG_SEPERATOR;
+char * const msg_separator = MSG_SEPARATOR;
char * const msg_cancel = MSG_CANCEL;
char * const msg_usr_left = MSG_USR_LEFT;
diff --git a/pttbbs/mbbsd/vote.c b/pttbbs/mbbsd/vote.c
index b54cd6b1..2c6b9d01 100644
--- a/pttbbs/mbbsd/vote.c
+++ b/pttbbs/mbbsd/vote.c
@@ -236,11 +236,11 @@ b_result_one(const vote_buffer_t *vbuf, boardheader_t * fh, int *total)
if ((xfp = fopen(buf, "r"))) {
fgets(inbuf, sizeof(inbuf), xfp);
- fprintf(tfp, "%s\n』 щ布嘿: %s\n\n", msg_seperator, inbuf);
+ fprintf(tfp, "%s\n』 щ布嘿: %s\n\n", msg_separator, inbuf);
fclose(xfp);
}
fprintf(tfp, "%s\n』 щ布いゎ: %s\n\n\n』 布匡肈ヘ磞瓃:\n\n",
- msg_seperator, Cdate(&closetime));
+ msg_separator, Cdate(&closetime));
fh->vtime = now;
setbfile(buf, bname, vbuf->desc);
@@ -266,12 +266,12 @@ b_result_one(const vote_buffer_t *vbuf, boardheader_t * fh, int *total)
unlink(b_control);
free(counts);
- fprintf(tfp, "%s\n』 ㄏノ某\n\n", msg_seperator);
+ fprintf(tfp, "%s\n』 ㄏノ某\n\n", msg_separator);
setbfile(buf, bname, vbuf->comments);
b_suckinfile(tfp, buf);
unlink(buf);
- fprintf(tfp, "%s\n』 羆布计 = %d 布\n\n", msg_seperator, *total);
+ fprintf(tfp, "%s\n』 羆布计 = %d 布\n\n", msg_separator, *total);
fclose(tfp);
setbfile(b_report, bname, "report");