summaryrefslogtreecommitdiffstats
path: root/mbbsd/vote.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/vote.c')
-rw-r--r--mbbsd/vote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c
index d15ee08f..47d41bf7 100644
--- a/mbbsd/vote.c
+++ b/mbbsd/vote.c
@@ -1066,7 +1066,7 @@ user_vote_one(vote_buffer_t *vbuf, const char *bname, int ind)
if (buf[0] == 'Q' || buf[0] == 'q')
break;
setbfile(b_comments, bname, vbuf->comments);
- if (mycomments[0])
+ if (mycomments[0][0])
if ((fcm = fopen(b_comments, "a"))) {
fprintf(fcm,
ANSI_COLOR(36) "¡³¨Ï¥ÎªÌ" ANSI_COLOR(1;36) " %s "