adding compilation of if-else statements

This commit is contained in:
cozis
2021-10-31 07:01:15 +00:00
parent 5e8fb7ef6b
commit 9eaa82297f
16 changed files with 269 additions and 25 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ Source *Source_FromFile(const char *file, Error *error)
return NULL;
}
if(fseek(fp, 0, SEEK_END))
if(fseek(fp, 0, SEEK_SET))
{
Error_Report(error, 1, "Call to fseek failed (%s, errno = %d)", strerror(errno), errno);
fclose(fp);