From 34f8779858beea561fb2f2f63476164665ace59f Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Tue, 19 Nov 2024 22:05:58 +0100 Subject: increased size of episode buffer --- README.md | 5 ++++- main.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f19893..9ec3359 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,10 @@ Samurai Champloo,14 Bakemonogatari,done Steins; Gate,1 -and so on. +and so on. The episode is actually stored as a string, so you can put "done" or +"abandoned" or anything else you want in there. Allows for a maximum length of +11. + You need to set your filepath in the main.c, but everything else should work out of the box. The Makefile uses clang, but you can change it to gcc in the second line. Or diff --git a/main.c b/main.c index 0ea1b99..f20d26f 100644 --- a/main.c +++ b/main.c @@ -7,7 +7,7 @@ const char *filename = "./anime.csv"; typedef struct { char name[80]; - char episode[5]; + char episode[12]; } entry_t; typedef enum { -- cgit v1.2.3