summaryrefslogtreecommitdiffstats
path: root/mbbsd/vote.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-10-01 22:42:57 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-10-01 22:42:57 +0800
commit233e3205df3f43bf54ed366333fc71340ca71bef (patch)
treee49249aa461450e97c8d469d640f6da164c8bb2e /mbbsd/vote.c
parentefd842401473002b70d43e50aa3ecffe1423a899 (diff)
downloadpttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar
pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.gz
pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.bz2
pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.lz
pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.xz
pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.zst
pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.zip
* eliminate warnings according to lxb's commit on pttbbslite
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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 "