Fix parsing of restore file
This commit is contained in:
parent
42dee2de78
commit
398146a0d8
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user