From c18e1d9857bb35847dcaed57d4a5c38a6e713ecd Mon Sep 17 00:00:00 2001 From: Liam Waldron Date: Thu, 4 May 2023 12:14:28 -0400 Subject: [PATCH] fix parse.c --- src/parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parse.c b/src/parse.c index 3448a3a..a884e45 100644 --- a/src/parse.c +++ b/src/parse.c @@ -71,7 +71,7 @@ char readEmkFile() { char includeConfig() { char cwd[PATH_MAX]; - file *emkconfig, *emkfile, *emkfile_new; + FILE *emkconfig, *emkfile, *emkfile_new; char filename[100], contents; emkconfig = fopen(EMKCONFIG, "r"); @@ -87,7 +87,7 @@ char includeConfig() { } /* write emkfile to new emkfile */ - contents = fgetc(emkfile): + contents = fgetc(emkfile); while (contents != EOF) { fputc(contents, emkfile_new); contents = fgetc(emkfile);