diff options
Diffstat (limited to 'src/leaderboard.c')
| -rw-r--r-- | src/leaderboard.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/leaderboard.c b/src/leaderboard.c index 850fdf0..8b4c076 100644 --- a/src/leaderboard.c +++ b/src/leaderboard.c @@ -62,10 +62,8 @@ void save_leaderboard(leaderboard_t leaderboard, char* path) { return; } /* got lock */ - /* TODO: actually write the leaderboard */ for (i = 0; i < leaderboard.count; i ++) { cur = leaderboard.scores[i]; - /* TODO: realloc again and then append int in string form to str */ /* append to file: name,score\n */ fprintf(file, "%s,%ld\n", cur.name, cur.score); /* prints to file stream */ } |
