summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--main.c2
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 {