diff options
Diffstat (limited to 'csol.c')
-rw-r--r-- | csol.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -102,12 +102,13 @@ static const char *GetScore(int game) if (score[game].played == 0) { - strcpy(buff, "0 played, 0.00% won"); + strcpy(buff, "0 played, 0 won, 0.00%"); } else { - snprintf(buff, sizeof buff, "%lu played, %.2f%% won", + snprintf(buff, sizeof buff, "%lu played, %lu won, %.2f%%", score[game].played, + score[game].won, (double)score[game].won / (double)score[game].played * 100.0); } |