From a934503ec9b3882a5a730e71cb31517bec16c85a Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Mon, 7 Oct 2024 23:00:06 +1100 Subject: [PATCH] ensure we don't run into problems reading world data on case-sensitive filesystems --- Lesson10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lesson10.c b/Lesson10.c index ca71966..96c05f7 100644 --- a/Lesson10.c +++ b/Lesson10.c @@ -99,7 +99,7 @@ static void SetupWorld(APPSTATE *state) int numtriangles; FILE *filein; char oneline[255]; - filein = fopen("data/world.txt", "r"); // File to load world data from + filein = fopen("Data/World.txt", "r"); // File to load world data from readstr(filein, oneline); sscanf(oneline, "NUMPOLLIES %d\n", &numtriangles);