summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/assess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/assess.c b/mbbsd/assess.c
index 52b7043c..4a5ed3bc 100644
--- a/mbbsd/assess.c
+++ b/mbbsd/assess.c
@@ -213,8 +213,8 @@ u_fixgoodpost(void)
ANSI_COLOR(1;31) "錯誤" ANSI_RESET);
if (!(fh.filemode & FILE_MARKED))
n = 0;
- prints("M文: %s\n", n ? "正確" :
- ANSI_COLOR(1;3) "錯誤" ANSI_RESET);
+ prints("M文: %s\n", (fh.filemode & FILE_MARKED) ? "正確" :
+ ANSI_COLOR(1;31) "錯誤" ANSI_RESET);
prints("推薦: %d\n", fh.recommend);
close(fd);
if (!n)