fix parse.c

This commit is contained in:
Liam Waldron 2023-05-04 12:14:28 -04:00
parent 56fb016254
commit c18e1d9857

View File

@ -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);