fix parse.c
This commit is contained in:
parent
56fb016254
commit
c18e1d9857
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user