summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-12 09:59:45 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-12 09:59:45 +0800
commit302a274608444f68789ad902f85b3d7204835120 (patch)
tree9ef5b271e06ee4bc0e2ef53bcdd8f4be8385e0cc
parent146ba6e8afa06904b433395d9683657e38ffacf5 (diff)
downloadpttbbs-302a274608444f68789ad902f85b3d7204835120.tar
pttbbs-302a274608444f68789ad902f85b3d7204835120.tar.gz
pttbbs-302a274608444f68789ad902f85b3d7204835120.tar.bz2
pttbbs-302a274608444f68789ad902f85b3d7204835120.tar.lz
pttbbs-302a274608444f68789ad902f85b3d7204835120.tar.xz
pttbbs-302a274608444f68789ad902f85b3d7204835120.tar.zst
pttbbs-302a274608444f68789ad902f85b3d7204835120.zip
change default value
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index a994a220..d7826d5b 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2292,8 +2292,8 @@ good_post(int ent, fileheader_t * fhdr, char *direct)
return DONOTHING;
getdata(1, 0, fhdr->filemode & FILE_DIGEST ?
- "取消看板文摘?(y/N)" : "收入看板文摘?(y/N)", genbuf2, 3, LCECHO);
- if(genbuf2[0]!='y')
+ "取消看板文摘?(Y/n)" : "收入看板文摘?(Y/n)", genbuf2, 3, LCECHO);
+ if(genbuf2[0] == 'n')
return FULLUPDATE;
if (fhdr->filemode & FILE_DIGEST) {
@@ -2328,10 +2328,9 @@ good_post(int ent, fileheader_t * fhdr, char *direct)
strcpy(ptr, fn_mandex);
append_record(buf, &digest, sizeof(digest));
- if(!(getbcache(currbid)->brdattr & BRD_HIDE))
- {
- getdata(1, 0, "好文值得出版到全站文摘?(Y/n)", genbuf2, 3, LCECHO);
- if(genbuf2[0]!='n')
+ if(!(getbcache(currbid)->brdattr & BRD_HIDE)) {
+ getdata(1, 0, "好文值得出版到全站文摘?(N/y)", genbuf2, 3, LCECHO);
+ if(genbuf2[0] == 'y')
do_crosspost("PttDigest", &digest, genbuf);
}