From 927160ba01cb96902b0bfe20c3d867172d2c9998 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Sun, 17 Jan 2021 09:34:21 -0800 Subject: [PATCH] Fix restore file not working --- src/restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restore.c b/src/restore.c index c1f382a..16c9663 100644 --- a/src/restore.c +++ b/src/restore.c @@ -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; }