Fix usage of older rjp parse flag

This commit is contained in:
rexy712 2020-04-09 14:56:02 -07:00
parent db3036e85b
commit 19d736bc84

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_NONE, NULL);
RJP_value* root = rjp_parse(file_contents, RJP_PARSE_NO_EXT, NULL);
free(file_contents);
return root;
}