Fix restore file not working

This commit is contained in:
rexy712 2021-01-17 09:34:21 -08:00
parent 42dee2de78
commit 927160ba01

View File

@ -77,7 +77,7 @@ RJP_value* read_restore_file(const char* file){
i = fread(file_contents, filesize, 1, fp);
fclose(fp);
file_contents[filesize] = 0;
RJP_value* root = rjp_parse(file_contents, RJP_PARSE_NO_EXT, NULL);
RJP_value* root = rjp_parse(file_contents, RJP_PARSE_ALLOW_COMMENTS, NULL);
free(file_contents);
return root;
}