summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-26 22:28:35 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-26 22:28:35 +0800
commitf18ec73a30ee567106e1f87f39d50043231941d7 (patch)
tree4a5571a925e4c8107d826aa88568f904839034c1 /mbbsd
parentd3cfa1d93e6bd06c3507d4af02761d0050b761a7 (diff)
downloadpttbbs-f18ec73a30ee567106e1f87f39d50043231941d7.tar
pttbbs-f18ec73a30ee567106e1f87f39d50043231941d7.tar.gz
pttbbs-f18ec73a30ee567106e1f87f39d50043231941d7.tar.bz2
pttbbs-f18ec73a30ee567106e1f87f39d50043231941d7.tar.lz
pttbbs-f18ec73a30ee567106e1f87f39d50043231941d7.tar.xz
pttbbs-f18ec73a30ee567106e1f87f39d50043231941d7.tar.zst
pttbbs-f18ec73a30ee567106e1f87f39d50043231941d7.zip
- assess: apply real MAXGP
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/assess.c9
-rw-r--r--mbbsd/pfterm.c3
-rw-r--r--mbbsd/pmore.c2
3 files changed, 9 insertions, 5 deletions
diff --git a/mbbsd/assess.c b/mbbsd/assess.c
index 4a5ed3bc..e771a809 100644
--- a/mbbsd/assess.c
+++ b/mbbsd/assess.c
@@ -60,7 +60,7 @@ void set_assess(const char *userid, unsigned char num, int type)
#define AIDC_LEN (20)
#endif // AIDC_LEN
-#define MAXGP (10)
+#define MAXGP (100)
int
u_fixgoodpost(void)
@@ -102,7 +102,8 @@ u_fixgoodpost(void)
bname, sizeof(bname), DOECHO))
{
move(5, 0);
- if (getans("確定全部輸入完成了嗎? [y/N]: ") != 'y')
+ if (getans(ANSI_COLOR(1;33)"確定全部輸入完成了嗎? "
+ ANSI_RESET "[y/N]: ") != 'y')
continue;
endinput = 1; break;
}
@@ -237,7 +238,7 @@ u_fixgoodpost(void)
clrtobot();
- vmsg("優文已確認。若要輸入其它看板的文章請在AID欄直接按空白。");
+ vmsg("優文已確認。若要輸入其它看板文章請在AID欄空白按 ENTER");
}
vmsgf("%s 看板輸入完成。", bname);
}
@@ -245,6 +246,8 @@ u_fixgoodpost(void)
{
vmsg("確認優文數目低於已有優文數,不調整。");
} else {
+ if (newgp > MAXGP)
+ newgp = MAXGP;
log_filef("log/fixgoodpost.log", LOG_CREAT,
"%s %s 自動修正優文數: 由 %d 變為 %d\n", Cdate(&now), cuser.userid,
cuser.goodpost, newgp);
diff --git a/mbbsd/pfterm.c b/mbbsd/pfterm.c
index 5afb7a87..bd97f655 100644
--- a/mbbsd/pfterm.c
+++ b/mbbsd/pfterm.c
@@ -86,7 +86,7 @@
// <piaip@csie.ntu.edu.tw>
// All Rights Reserved.
// You are free to use, modify, redistribute this program
-// in any BBS style systems, or any other non-commercial usage.
+// in any non-commercial usage.
// You must keep these copyright information.
//
// MAJOR IMPROVEMENTS:
@@ -100,6 +100,7 @@
// - ncurses-like API [done]
// - inansistr to output escaped string [done]
// - handle incomplete DBCS characters [done]
+// - optimization with reprint ability [done]
//
// DEPRECATED:
// - standout() [rework getdata() and namecomplete()]
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index 9369cc72..6bbf0973 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -14,7 +14,7 @@
* <piaip@csie.ntu.edu.tw>
* All Rights Reserved.
* You are free to use, modify, redistribute this program
- * in any BBS style systems, or any other non-commercial usage.
+ * in any non-commercial usage.
* You must keep these copyright information.
*
* MAJOR IMPROVEMENTS: