Skip to content

Commit

Permalink
make shure locale highscore files exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Judro committed Dec 16, 2024
1 parent 4dfd4b4 commit c6e788e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mines.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ void print_game(GameInstance game, WINDOW *window) {
}

int main(void) {
FILE *local_highscores;
FILE *local_highscores = init_state_files();
fclose(local_highscores);
time(&fps_timestamp);
setlocale(LC_CTYPE, "");
WINDOW *window = create_window();
Expand Down

0 comments on commit c6e788e

Please sign in to comment.