diff options
| author | preston <preston@openbsd-preston.prestonpan.tech> | 2023-03-08 14:23:12 -0800 |
|---|---|---|
| committer | preston <preston@openbsd-preston.prestonpan.tech> | 2023-03-08 14:23:12 -0800 |
| commit | ae42abdfc94e2fe591f919da1caec7358acaa919 (patch) | |
| tree | 333882c291af0e5db4a73e930a027b27b7431655 | |
| parent | b844282a592b5a51000107edfffee49eba560854 (diff) | |
remove bad comments
| -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 */ } |
