From e40a2d2ec2cebb032fd1f5badb102445ab9384e6 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 25 Dec 2018 16:05:11 -0500 Subject: Add AGPL notice on exit --- play.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/play.c b/play.c index b062a0f..707c6c7 100644 --- a/play.c +++ b/play.c @@ -148,6 +148,7 @@ static void draw(size_t new) { int main(void) { struct Score new = { .date = time(NULL) }; new.score = play2048(); + FILE *file = scoresOpen("2048.scores"); scoresRead(file); size_t index = scoresInsert(new); @@ -168,4 +169,9 @@ int main(void) { curs_set(0); getch(); endwin(); + + printf( + "This program is AGPLv3 Free Software!\n" + "Code is available from .\n" + ); } -- cgit 1.4.1