summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-09 12:51:05 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-09 12:51:05 +0800
commite42e2de6e2722da3dac9a155ff45e755f7078d79 (patch)
treeaa1375b509adf9d8830c9c9710751a9720a75e80 /util
parent7c4e45fc0c42d52393b0eb532945f3b55236470d (diff)
downloadpttbbs-e42e2de6e2722da3dac9a155ff45e755f7078d79.tar
pttbbs-e42e2de6e2722da3dac9a155ff45e755f7078d79.tar.gz
pttbbs-e42e2de6e2722da3dac9a155ff45e755f7078d79.tar.bz2
pttbbs-e42e2de6e2722da3dac9a155ff45e755f7078d79.tar.lz
pttbbs-e42e2de6e2722da3dac9a155ff45e755f7078d79.tar.xz
pttbbs-e42e2de6e2722da3dac9a155ff45e755f7078d79.tar.zst
pttbbs-e42e2de6e2722da3dac9a155ff45e755f7078d79.zip
- change hard coded PTT to macros
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3656 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/account.c2
-rw-r--r--util/angel.c2
-rw-r--r--util/jungo.c2
-rw-r--r--util/openticket.c4
-rw-r--r--util/toplazyBBM.c2
-rw-r--r--util/toplazyBM.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/util/account.c b/util/account.c
index 35437755..5463d299 100644
--- a/util/account.c
+++ b/util/account.c
@@ -377,7 +377,7 @@ main(int argc, char **argv)
system(buf);
}
/* Ptt reset Ptt's share memory */
- printf("重設Pttcache 與fcache\n");
+ printf("重設cache 與fcache\n");
SHM->Puptime = 0;
resolve_fcache();
diff --git a/util/angel.c b/util/angel.c
index c12cb555..4f7b0a0c 100644
--- a/util/angel.c
+++ b/util/angel.c
@@ -140,7 +140,7 @@ void sendResult(){
}
t = time(NULL);
- fprintf(fp, "作者: Ptt 站方統計\n"
+ fprintf(fp, "作者: " BBSMNAME " 站方統計\n"
"標題: 小天使統計資料\n"
"時間: %s\n"
"\n現在全站小天使有 %d 位\n"
diff --git a/util/jungo.c b/util/jungo.c
index fdecf252..5c034f26 100644
--- a/util/jungo.c
+++ b/util/jungo.c
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
sprintf(genbuf, BBSHOME "/home/%c/%s", lostbms[i].bmname[0], lostbms[i].bmname);
stampfile(genbuf, &mymail);
- strcpy(mymail.owner, "[PTT警察局]");
+ strcpy(mymail.owner, "[" BBSMNAME "警察局]");
if(lostdays <= 60){
sprintf(mymail.title,
diff --git a/util/openticket.c b/util/openticket.c
index c200510d..db473fd2 100644
--- a/util/openticket.c
+++ b/util/openticket.c
@@ -83,7 +83,7 @@ int main(int argc, char **argv)
"開獎結果: %s \n\n"
"下注總金額: %d00 元 \n"
"中獎比例: %d張/%d張 (%f)\n"
- "每張中獎彩票可得 %d 枚P幣 \n\n",
+ "每張中獎彩票可得 %d 枚" MONEYNAME "幣 \n\n",
Cdatelite(&now), betname[bet], total, ticket[bet], total,
(float) ticket[bet] / total, money);
@@ -104,7 +104,7 @@ int main(int argc, char **argv)
{
if (mybet == bet)
{
- printf("恭喜 %-15s買了%9d 張 %s, 獲得 %d 枚P幣\n"
+ printf("恭喜 %-15s買了%9d 張 %s, 獲得 %d 枚" MONEYNAME "幣\n"
,userid, num, betname[mybet], money * num);
if((uid=searchuser(userid, userid))==0) continue;
deumoney(uid, money * num);
diff --git a/util/toplazyBBM.c b/util/toplazyBBM.c
index e4df67f0..3b881c5f 100644
--- a/util/toplazyBBM.c
+++ b/util/toplazyBBM.c
@@ -172,7 +172,7 @@ int main(int argc, char *argv[])
sprintf(genbuf, BBSHOME "/home/%c/%s", lostbms[i].bmname[0], lostbms[i].bmname);
stampfile(genbuf, &mymail);
- strcpy(mymail.owner, "[PTT警察局]");
+ strcpy(mymail.owner, "[" BBSMNAME "警察局]");
if(lostdays <= 30){
sprintf(mymail.title,
diff --git a/util/toplazyBM.c b/util/toplazyBM.c
index 8b7ff467..4789557d 100644
--- a/util/toplazyBM.c
+++ b/util/toplazyBM.c
@@ -182,7 +182,7 @@ int main(int argc, char *argv[])
lostbms[i].bmname[0], lostbms[i].bmname);
stampfile(genbuf, &mymail);
- strcpy(mymail.owner, "[PTT警察局]");
+ strcpy(mymail.owner, "[" BBSMNAME "警察局]");
if (lostdays <= 90)
sprintf(mymail.title,
"\033[32m版主通知\033[m %s版版主%s",