]> git.sesse.net Git - pgn-extract/blobdiff - main.c
Store the current file number (with offset) in the binary output.
[pgn-extract] / main.c
diff --git a/main.c b/main.c
index ec4df57cdf0e356223ab6ab49746762a21d87fc9..eb25da5abcc7d48eda11d48125c676d025ee78cb 100644 (file)
--- a/main.c
+++ b/main.c
@@ -107,6 +107,8 @@ StateInfo GlobalState = {
     "MATCH",             /* position_match_comment (--markpositionmatches) */
     (char *)NULL,         /* current_input_file */
     NORMALFILE,           /* current_file_type */
+    -1,                   /* current_file_number */
+    0,                    /* start_file_number */
     0,                    /* start_position */
     LONG_MAX,             /* end_position */
     DEFAULT_ECO_FILE,     /* eco_file (-e) */