diff options
-rw-r--r-- | mbbsd/vote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index 9bccf14a..2cbcb806 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -304,11 +304,11 @@ b_result_one(vote_buffer_t *vbuf, boardheader_t * fh, int ind, int *total) fgets(inbuf, sizeof(inbuf), cfp); fprintf(tfp, "\n���벼���G:(�@�� %d �H�벼,�C�H�̦h�i�� %hd ��)\n", people_num, junk); - fprintf(tfp, " �� �� �`���� �o���v �o������\n"); + fprintf(tfp, " �� �� �`���� �o���v �o������\n"); for (junk = 0; junk < item_num; junk++) { fgets(inbuf, sizeof(inbuf), cfp); chomp(inbuf); - fprintf(tfp, " %-42s %3d �� %02.2f%% %02.2f%%\n", inbuf + 3, counts[junk], + fprintf(tfp, " %-42s %3d �� %6.2f%% %6.2f%%\n", inbuf + 3, counts[junk], (float)(counts[junk] * 100) / (float)(people_num), (float)(counts[junk] * 100) / (float)(*total)); } |